Closed neevek closed 3 months ago
It looks like you're closing the stream earlier than you intended to. Try setting a breakpoint in SendStream::close
, or adding equivalent logging.
This issue is related to another TCP proxy backend, which prematurely closes the connection, it is not an issue of Quinn.
Thanks for following up!
I encounter a problem when using Quinn to build a proxy. The topology is as follows:
When using curl or any other HTTP clients to request a large file through the proxy, I observe different behaviors based on the operating system:
curl: (18) transfer closed with 296418866 bytes remaining to read.
The Quinn server and client are run on Ubuntu, I tried running the Quinn client on MacOS, but the issue still exists.
I checked the trace log of Quinn before curl exit, there's a few lines that may be relevant:
This discrepancy suggests there might be a configuration issue or platform-specific bug, not sure if it is related to Quinn, but I'm not sure how to debug it.