Commit 3ad99eb
committed
[grid] Closing input pipeline when client disconnects
This is needed when a client sends a request, and we
reply right away (e.g. session not found), but we do
not read the whole request content.
If we do not read the whole request content, Netty
will wait until it does, and then it blocks. Which
is not ideal since no more requests can be processed.
Now, we close the pipeline when the client disconnects.
Fixes #10485
Fixes SeleniumHQ/docker-selenium#14391 parent 439da14 commit 3ad99eb
2 files changed
Lines changed: 14 additions & 1 deletion
File tree
- java/src/org/openqa/selenium
- events/zeromq
- netty/server
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | 234 | | |
236 | 235 | | |
237 | 236 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
135 | 149 | | |
136 | 150 | | |
137 | 151 | | |
| |||
0 commit comments