On 17/12/2009, at 00:06, Antonio Pérez wrote: > I don't get the additional \r character: > > ========= > $ curl -I http://maagal.dontexist.org:40/ | hd > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 0 5882 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 > 00000000 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d |HTTP/1.1 200 OK.| > 00000010 0a 44 61 74 65 3a 20 54 68 75 2c 20 31 37 20 44 |.Date: Thu, 17 D| > 00000020 65 63 20 32 30 30 39 20 30 31 3a 35 35 3a 31 39 |ec 2009 01:55:19| > 00000030 20 47 4d 54 0d 0a 53 65 72 76 65 72 3a 20 43 68 | GMT..Server: Ch| > 00000040 65 72 72 79 50 79 2f 32 2e 33 2e 30 0d 0a 43 6f |erryPy/2.3.0..Co| > 00000050 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 35 38 |ntent-Length: 58| > 00000060 38 32 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 |82..Content-Type| > 00000070 3a 20 74 65 78 74 2f 68 74 6d 6c 3b 20 63 68 61 |: text/html; cha| > 00000080 72 73 65 74 3d 75 74 66 2d 38 0d 0a 53 65 74 2d |rset=utf-8..Set-| > 00000090 43 6f 6f 6b 69 65 3a 20 6e 6f 61 6c 2d 76 69 73 |Cookie: noal-vis| > 000000a0 69 74 3d 65 65 65 66 66 38 33 35 39 63 36 31 36 |it=eeeff8359c616| > 000000b0 34 39 32 32 65 37 30 62 31 34 61 37 63 66 30 31 |4922e70b14a7cf01| > 000000c0 35 62 32 35 63 61 66 64 38 32 63 3b 20 50 61 74 |5b25cafd82c; Pat| > 000000d0 68 3d 2f 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a |h=/..Connection:| > 000000e0 20 63 6c 6f 73 65 0d 0a 0d 0a | close....| > ========= > > Unless Yo'av has solved the problem... :)
Just checked it, the problem persists: ========= (gdb) b proxy_hosts.c:367 Breakpoint 1 at 0x1000549c9: file proxy_hosts.c, line 367. (gdb) run Breakpoint 1, cherokee_handler_proxy_conn_recv_headers (pconn=0x100218800, body=0x100223688) at proxy_hosts.c:367 (gdb) p pconn->header_in_raw.buf $2 = 0x100301a40 "HTTP/1.1 302 Found\r\nDate: Thu, 17 Dec 2009 12:10:09 GMT\r\nLocation: http://localhost/articles/new_embed/9\r\nServer: CherryPy/2.3.0\r\nContent-Length: 127\r\nContent-Type: text/html\r\nSet-Cookie: noal-visit=ba9767bb2aed0d532b068258b660c15ed2a5a566; Path=/\r\r\nSet-Cookie: tg_flash=\"\\327\\220\\327\\231\\327\\237%20\\327\\236\\327\\220\\327\\236\\327\\250\\327\\231\\327\\235%20\\327\\234\\327\\242\\327\\250\\327\\225\\327\\232%20\\327\\221\\327\\247\\327\\221\\327\\225\\327\\246\\327\\224%20\\327\\226\\327\\225.\"; Path=/\r\nConnection: close\r\n\r\n" ========= The line number are different because of the patch I'm writing. Besides, I suppose the whole response is also different because of the previous authentication (/admin). -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
