curl-library
Re: [PATCH] sockfilt: read full blocks also in juggle()
Date: Wed, 28 Dec 2011 23:26:04 +0100
2011/12/27 Kamil Dudka wrote:
> nss-3.13 came with a security fix that broke curl's test-suite. �It
> splits a block of size N to a one-byte and N-1 bytes blocks, which
> the testing server was not ready for, and it caused the FTPS tests to
> be skipped. �With this patch applied, the FTPS tests now work again.
>
> An alternative workaround for this issue is to export the variable
> NSS_SSL_CBC_RANDOM_IV=0 on client's side.
>
> Bug: https://bugzilla.redhat.com/760060
ftpserver.pl was certainly not ready for the arbitrary splitting of
application data among different TCP packets. I've just pushed some
changes to ftpserver.pl that should make pingpong server it work with
any sort of application data fragmentation it receives over TCP.
Please verify if this commit alone improves/fixes
https://bugzilla.redhat.com/760060
If e99128a5c9 does not improve the situation, logs from a manually run
of "runtests.pl -k 100" and interrupting it should better pinpoint
where the problem comes from. I believe that making sockfilt.c break
on new-line boundaries should not be required unless we have another
problem somewhere else.
-- -=[Yang]=- ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-12-28