tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: cvs commit: jakarta-tomcat-connectors/ajp/ajplib/test ajp.h ajp_header.c ajp_msg.c
Date Wed, 28 Jul 2004 17:35:43 GMT
jean-frederic clere wrote:
> Mladen Turk wrote:
> 
>>  
>>
>> jfclere@apache.org commited:
>>  
>>
>>> jakarta-tomcat-connectors/ajp/ajplib/test ajp.h ajp_header.c ajp_msg.c
>>>
>>
>>
>> One question.
>> In ajp_send_header you are calling twice the ajp_ilink_send(sock,msg);
>> First checking rv, and second not.
>>
>> Copy/paste ?
> 
> 
> Oops, that may why the Tomcat is not happy with what I am sending to him.

Not only it says:
+++
Unknown message 72
12 34 01 b4 48 54 54 50 2f 31 2e 31 00 00 0a 2f  | .4.?HTTP/1.1.../
65 78 61 6d 70 6c 65 73 2f 00 00 0d 31 37 32 2e  | examples/...172.
32 35 2e 31 38 32 2e 33 35 00 ff ff 00 08 76 74  | 25.182.35.??..vt
78 63 6c 65 72 65 00 1e 63 00 00 09 00 04 48 6f  | xclere..c.....Ho
73 74 00 00 0d 76 74 78 63 6c 65 72 65 3a 37 37  | st...vtxclere:77
37 39 00 00 0a 55 73 65 72 2d 41 67 65 6e 74 00  | 79...User-Agent.
00 3f 4d 6f 7a 69 6c 6c 61 2f 35 2e 30 20 28 58  | .?Mozilla/5.0 (X
31 31 3b 20 55 3b 20 4c 69 6e 75 78 20 69 36 38  | 11; U; Linux i68
36 3b 20 65 6e 2d 55 53 3b 20 72 76 3a 31 2e 37  | 6; en-US; rv:1.7
62 29 20 47 65 63 6b 6f 2f 32 30 30 34 30 35 31  | b) Gecko/2004051
37 00 00 06 41 63 63 65 70 74 00 00 63 74 65 78  | 7...Accept..ctex
74 2f 78 6d 6c 2c 61 70 70 6c 69 63 61 74 69 6f  | t/xml,applicatio
6e 2f 78 6d 6c 2c 61 70 70 6c 69 63 61 74 69 6f  | n/xml,applicatio
6e 2f 78 68 74 6d 6c 2b 78 6d 6c 2c 74 65 78 74  | n/xhtml+xml,text
2f 68 74 6d 6c 3b 71 3d 30 2e 39 2c 74 65 78 74  | /html;q=0.9,text
2f 70 6c 61 69 6e 3b 71 3d 30 2e 38 2c 69 6d 61  | /plain;q=0.8,ima
67 65 2f 70 6e 67 2c 2a 2f 2a 3b 71 3d 30 2e 35  | ge/png,*/*;q=0.5
00 00 0f 41 63 63 65 70 74 2d 4c 61 6e 67 75 61  | ...Accept-Langua
67 65 00 00 14 65 6e 2c 66 72 3b 71 3d 30 2e 37  | ge...en,fr;q=0.7
2c 64 65 3b 71 3d 30 2e 33 00 00 0f 41 63 63 65  | ,de;q=0.3...Acce
70 74 2d 45 6e 63 6f 64 69 6e 67 00 00 0c 67 7a  | pt-Encoding...gz
69 70 2c 64 65 66 6c 61 74 65 00 00 0e 41 63 63  | ip,deflate...Acc
65 70 74 2d 43 68 61 72 73 65 74 00 00 1f 49 53  | ept-Charset...IS
4f 2d 38 38 35 39 2d 31 35 2c 75 74 66 2d 38 3b  | O-8859-15,utf-8;
71 3d 30 2e 37 2c 2a 3b 71 3d 30 2e 37 00 a0 02  | q=0.7,*;q=0.7.?.
00 03 33 30 30 00 00 0a 43 6f 6e 6e 65 63 74 69  | ..300...Connecti
6f 6e 00 00 0a 6b 65 65 70 2d 61 6c 69 76 65 00  | on...keep-alive.
a0 06 00 02 31 30 00 ff
+++
I stop for today...

> 
>>
>> MT.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message