cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: 7.14.0 is failing test 56 on my AIX 5.2 box

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 7 Sep 2005 18:19:15 +0200 (CEST)

On Wed, 7 Sep 2005, Scott Davis wrote:

> You'll have to tell me how to aply this.

Oh, sorry!

> I tried:
> patch <sws.patch
> Where sws.patch contained the lines from your message below that
> are prefixed with a #.
> The response I got was:
> Processing... I cannot find a patch in there anywhere.

Then something odd happened to the patch along the way. You should be able to
run 'patch < sws.patch' in the tests/server dir and it should apply fine.

If not, you can just load tests/server/sws.c in a text editor and manually
replace the line that looks like

       if(strstr(req->reqbuf, "\r\n0\r\n"))

...with one that looks like:

       if(strstr(req->reqbuf, "\r\n0\r\n\r\n"))

That is, add \r\n to the end of the string it scans for.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-09-07