httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject httpd.core.3 (2nd flavor seen on current code)
Date Wed, 06 Feb 2002 00:17:45 GMT
The data read from the network:

read 1:

(gdb) x/255c ((core_net_rec
*)r->input_filters->next->ctx)->client_socket->head->next->data 
0x812441c:      71 'G'  69 'E'  84 'T'  32 ' '  47 '/'  99 'c'  111
'o' 99 'c'
0x8124424:      111 'o' 111 'o' 110 'n' 47 '/'  100 'd' 101 'e' 118
'v' 101 'e'
0x812442c:      108 'l' 111 'o' 112 'p' 105 'i' 110 'n' 103 'g' 47 '/'
103 'g'
0x8124434:      114 'r' 97 'a'  112 'p' 104 'h' 105 'i' 99 'c'  115
's' 47 '/'
0x812443c:      85 'U'  115 's' 105 'i' 110 'n' 103 'g' 37 '%'  50 '2'
48 '0'
0x8124444:      68 'D'  97 'a'  116 't' 97 'a'  98 'b'  97 'a'  115
's' 101 'e'
0x812444c:      115 's' 45 '-'  108 'l' 97 'a'  98 'b'  101 'e' 108
'l' 95 '_'
0x8124454:      111 'o' 118 'v' 101 'e' 114 'r' 46 '.'  106 'j' 112
'p' 103 'g'
0x812445c:      32 ' '  72 'H'  84 'T'  84 'T'  80 'P'  47 '/'  49 '1'
46 '.'
0x8124464:      49 '1'  13 '\r' 10 '\n' 65 'A'  99 'c'  99 'c'  101
'e' 112 'p'
0x812446c:      116 't' 58 ':'  32 ' '  42 '*'  47 '/'  42 '*'  13
'\r' 10 '\n'
0x8124474:      82 'R'  101 'e' 102 'f' 101 'e' 114 'r' 101 'e' 114
'r' 58 ':'
0x812447c:      32 ' '  104 'h' 116 't' 116 't' 112 'p' 58 ':'  47 '/'
47 '/'
0x8124484:      120 'x' 109 'm' 108 'l' 46 '.'  97 'a'  112 'p' 97 'a'
99 'c'
0x812448c:      104 'h' 101 'e' 46 '.'  111 'o' 114 'r' 103 'g' 47 '/'
99 'c'
0x8124494:      111 'o' 99 'c'  111 'o' 111 'o' 110 'n' 47 '/'  100
'd' 101 'e'
0x812449c:      118 'v' 101 'e' 108 'l' 111 'o' 112 'p' 105 'i' 110
'n' 103 'g'
0x81244a4:      47 '/'  105 'i' 110 'n' 100 'd' 101 'e' 120 'x' 46 '.'
104 'h'
0x81244ac:      116 't' 109 'm' 108 'l' 13 '\r' 10 '\n' 65 'A'  99 'c'
99 'c'
0x81244b4:      101 'e' 112 'p' 116 't' 45 '-'  76 'L'  97 'a'  110
'n' 103 'g'
0x81244bc:      117 'u' 97 'a'  103 'g' 101 'e' 58 ':'  32 ' '  101
'e' 110 'n'
0x81244c4:      45 '-'  117 'u' 115 's' 13 '\r' 10 '\n' 65 'A'  99 'c'
99 'c'
0x81244cc:      101 'e' 112 'p' 116 't' 45 '-'  69 'E'  110 'n' 99 'c'
111 'o'
0x81244d4:      100 'd' 105 'i' 110 'n' 103 'g' 58 ':'  32 ' '  103
'g' 122 'z'
0x81244dc:      105 'i' 112 'p' 44 ','  32 ' '  100 'd' 101 'e' 102
'f' 108 'l'
0x81244e4:      97 'a'  116 't' 101 'e' 13 '\r' 10 '\n' 73 'I'  102
'f' 45 '-'
0x81244ec:      77 'M'  111 'o' 100 'd' 105 'i' 102 'f' 105 'i' 101
'e' 100 'd'
0x81244f4:      45 '-'  83 'S'  105 'i' 110 'n' 99 'c'  101 'e' 58 ':'
32 ' '
0x81244fc:      84 'T'  104 'h' 117 'u' 44 ','  32 ' '  51 '3'  49 '1'
32 ' '
0x8124504:      74 'J'  97 'a'  110 'n' 32 ' '  50 '2'  48 '0'  48 '0'
50 '2'
0x812450c:      32 ' '  49 '1'  51 '3'  58 ':'  50 '2'  51 '3'  58 ':'
50 '2'
0x8124514:      48 '0'  32 ' '  71 'G'  77 'M'  84 'T'  13 '\r' 10
'\n'

read 2:
  nothing (hit EOF)

The first data read in a better format:

(gdb) p *((core_net_rec
*)r->input_filters->next->ctx)->client_socket->head->next
$8 = {next = 0x0, saved_len = 255, actual_len = 255, data = "G"}
(gdb) printf "%.255s", ((core_net_rec
*)r->input_filters->next->ctx)->client_socket->head->next->data
GET /cocoon/developing/graphics/Using%20Databases-label_over.jpg
HTTP/1.1
Accept: */*
Referer: http://xml.apache.org/cocoon/developing/index.html
Accept-Language: en-us
Accept-Encoding: gzip, deflate
If-Modified-Since: Thu, 31 Jan 2002 13:23:20 GMT
(gdb)

The connection died before we got the blank line.

I'll try such a request and see if I can recreate it.  I wouldn't be
surprised if the code change I committed earlier will take care of
it.

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

Mime
View raw message