Re: HTTP/0.9 and mod_proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux