cURL / Mailing Lists / curl-library / Single Mail


[PATCH] test530 fix

From: Dmitry Kurochkin <>
Date: Fri, 18 Jan 2008 11:34:54 +0300


In pipeline patch test530 was changed but it does not work as intended.

pipe: 1
pipe: 3

I expected server to wait for first request, send first response. And
then wait for 3 requests to come before sending next response. But
only first pipe instruction was really used. Test does not fail for me
when run once. But it fails if I run "./ 530 530". And
sniffer shows that it is really broken.

I think this leads to random failures reported by Guenter Knauf.

Fix for the test is attached. Instead of using pipe servercmd I split
responses into separate <dataN> sections and for requests which should
be pipelined send only part of response is sent.


Received on 2008-01-18