Repository navigation
Conversation
icing
commented
Feb 15, 2024
- when data arrived in several chunks, the collection into the passed buffer always started at offset 0, overwriting the data already there.
|
maybe a unit tests can prevent this kind error. |
It was triggered in pytest |
|
maybe use nc -l -p 8888 | pv -L 512 | nc example.com 80in this example pv limit the stream speed at 512 byte per second. |
Would CURL_DBG_SOCK_RMAX work for that |
- when data arrived in several chunks, the collection into the passed buffer always started at offset 0, overwriting the data already there.
- debug environment var CURL_WS_CHUNK_SIZE can be used to influence the buffer chunk size used for en-/decoding.
2d99720 to
5f1abf4
Compare
Added a new debug environment var |
|
Thanks! |