curl-library
[PATCH] test530 fix
From: Dmitry Kurochkin <dmitry.kurochkin_at_gmail.com>
Date: Fri, 18 Jan 2008 11:34:54 +0300
Received on 2008-01-18
Date: Fri, 18 Jan 2008 11:34:54 +0300
Hello.
In pipeline patch test530 was changed but it does not work as intended.
<servercmd>
pipe: 1
pipe: 3
</servercmd>
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 "./runtests.pl 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.
Regards,
Dmitry
- text/x-diff attachment: test530_fix.patch