cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c

Mladen Turk-3
mturk       2005/05/06 06:59:34

  Modified:    jk/native/common jk_ajp_common.c
  Log:
  No need to check the proto because it can only be ajp13 or ajp14,
  when the worker is created.
 
  Revision  Changes    Path
  1.109     +1 -7      jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
 
  Index: jk_ajp_common.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- jk_ajp_common.c 6 May 2005 13:49:32 -0000 1.108
  +++ jk_ajp_common.c 6 May 2005 13:59:34 -0000 1.109
  @@ -950,12 +950,6 @@
       char buf[32];
   
       JK_TRACE_ENTER(l);
  -    if ((ae->proto != AJP13_PROTO) && (ae->proto != AJP14_PROTO)) {
  -        jk_log(l, JK_LOG_ERROR,
  -               "Can't handle unknown protocol %d", ae->proto);
  -        JK_TRACE_EXIT(l);
  -        return JK_FALSE;
  -    }
   
       rc = jk_tcp_socket_recvfull(ae->sd, head, AJP_HEADER_LEN);
   
 
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...