receive buffer cleanups #1449
Test 1060 fails miserably if we allow the receive buffer to be smaller than about 16K, so I'm now considering either
Yes, that's for sure. The CONNECT code is written to work with a fixed-size buffer and if the response is larger than so, it will break. So yes, that's a separate issue that should be worked on separately. But I would also expect that it is a very rare happening to see such big response to a CONNECT.
The buffer is needed to receive FTP, HTTP CONNECT responses etc so already at this size things risk breaking and smaller is certainly not wise.
To make it suitably independent of the receive buffer and its flexible size.
... to properly use the dynamically set buffer size!