httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: [PATCH] reworking getline and friends
Date Wed, 11 Oct 2000 18:56:56 GMT
"David Reid" <dreid@jetnet.co.uk> writes:

> OK.  I'm sorry to say that I've tested both patches and neither one 
> works :(  Ryan's does the same as it does presently and jeff's won't 
> recognise a CR.  If either person wants me to try again then send me the 
> patch and I'll apply it and test.  Thanks to a guy driving a 767 off the 
> runway last night I've got a fair bit of time at home tomorrow...
> 
> david

Do you know what byte sequence is giving you problems?  See the
transcript below where "GET /\r\n" was sent one byte at a time using a
server built with my patch.  I got the desired output from
mod_autoindex.  This makes me wonder what your client is sending...

I'm happy to work on Ryan's newly-committed code to resolve the
problem, but I'm not sure what to test.

connect 3 0.0.0.0 8080
connected...
Enter a command (or "help"):
write 3 "G"
Sent 1 bytes...
Enter a command (or "help"):
write 3 "E"
Sent 1 bytes...
Enter a command (or "help"):
write 3 "T"
Sent 1 bytes...
Enter a command (or "help"):
write 3 " "
Sent 1 bytes...
Enter a command (or "help"):
write 3 "/"
Sent 1 bytes...
Enter a command (or "help"):
write 3 "\r"
Sent 1 bytes...
Enter a command (or "help"):
write 3 "\n"
Sent 1 bytes...
Enter a command (or "help"):
read /
A numeric parameter was invalid.
The request failed.
Enter a command (or "help"):
read 3
1024 bytes were read
data read:
  00000000: 3C21444F 43545950 45204854 4D4C2050  <!DOCTYPE HTML P
  00000010: 55424C49 4320222D 2F2F5733 432F2F44  UBLIC "-//W3C//D
  00000020: 54442048 544D4C20 332E3220 46696E61  TD HTML 3.2 Fina
  00000030: 6C2F2F45 4E223E0A 3C48544D 4C3E0A20  l//EN">.<HTML>.
(the rest of the mod_autoindex output follows)

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message