Commit e7ef54a
Fix bug: client side caching causes unexpected disconnections (async version) (#3165)
* fix disconnects
* skip test in cluster
* add test
* save return value from handle_push_response (without it 'read_response' return the push message)
* insert return response from cache to the try block to prevent connection leak
* enable to get connection with data avaliable to read in csc mode and change can_read_destructive to not read data
* fix check if socket is empty (at_eof() can return False but this doesn't mean there's definitely more data to read)
---------
Co-authored-by: Chayim <[email protected]>1 parent 0cd0c5d commit e7ef54a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
0 commit comments