Commit c076d6a
authored
fix: websocket deadlock for high amounts of concurrency (#141)
* fix: send websocket request only when promise was set
* fix: only decode once for path decision
* fix: concurrency issue with websocket send
* fix: websocket wait for response before continuing
* fix: async exec receive ws messages
* fix: increase max frame size
* fix: single threaded ws group
* fix: sometimes websocket was not initialized
* fix: revert to 4 threads
* fix: avoid deadlock by having multiple seperate queues
* fix: switch from semaphores to closures
* fix: do not send from queue
* fix: do not access synchronized array synchronously1 parent eff1a97 commit c076d6a
File tree
2 files changed
+164
-133
lines changed- Sources
- Core/Toolbox
- FoundationHTTP
2 files changed
+164
-133
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
| |||
0 commit comments