Karel Kubat wrote:
> On Oct 1, 2009, at 4:25 PM, Danijel wrote:
> >     GET /test HTTP/1.0
> >     Host: backend:9110
> >     User-Agent: curl/7.15.1 (x86_64-suse-linux) libcurl/7.15.1
> >     OpenSSL/0.9.8a zlib/1.2.3 libidn/0.6.0
> >     Accept: */*
> >     Max-Forwards: 10
> >     X-Forwarded-For: 127.0.0.1
> >     X-Forwarded-Host: localhost:4080
> >     X-Forwarded-Server: localhost
> >
> >     <html><head/><body>AS2 Adapter is alive.</body></html>
> 
> This isn't the right part of the tcpdump. The back end must reply with  
> something like:
>    HTTP/1.1 200 OK
>    Content-length: ... whatever
> 
>    and some content

Well, The thing above the empty line is what was sent (the
request). The HTML part is the thing that was received (the response).
I'm talking about HTTP/0.9 as specified here:

        http://www.w3.org/Protocols/HTTP/AsImplemented.html

There are no Response Headers in HTTP/0.9. The Answer simply contains
the contents of the requested resource.

The question is: Apache receives the following line:

<html><head/><body>AS2 Adapter is alive.</body></html>

So why is "len" <= 0? (Only when len is <= 0 the error is triggered).
Btw, this is Apache 2.0.63.

Danijel

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to