tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dan...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/src/doc AJPv13.html
Date Sun, 20 May 2001 22:57:57 GMT
danmil      01/05/20 15:57:57

  Modified:    jk/src/doc AJPv13.html
  Log:
  Specified encoding for Null strings.
  
  Submitted by Ted Eiles <ted.eiles@learningmachines.com>.
  
  Revision  Changes    Path
  1.2       +5 -4      jakarta-tomcat-connectors/jk/src/doc/AJPv13.html
  
  Index: AJPv13.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/src/doc/AJPv13.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AJPv13.html	2001/05/14 09:16:56	1.1
  +++ AJPv13.html	2001/05/20 22:57:56	1.2
  @@ -41,7 +41,7 @@
     <LI> Increasing performance (speed, specifically).<P>
   
     <LI> Adding support for SSL, so that <CODE>isSecure()</CODE> and
  -       <CODE>geScheme()</CODE> will function correctly within the servlet
  +       <CODE>getScheme()</CODE> will function correctly within the servlet
          container.  The client certificates and cipher suite will be
          available to servlets as request attributes.<P>
   
  @@ -135,9 +135,10 @@
     <DT><B>String</B></DT>
     <DD>A variable-sized string (length bounded by 2^16). Encoded with the
     length packed into two bytes first, followed by the string (including the
  -  terminating '\0').  Note that the encoded length does <B>not</B> include
  -  the trailing '\0' -- it is like <CODE>strlen</CODE>.  This is a touch
  -  confusing on the Java side, which is littered with odd autoincrement
  +  terminating '\0'). A String with size 0xFFFF is a Null String and there
  +  is no trailing '\0'.  Note that the encoded length does <B>not</B>
  +  include the trailing '\0' -- it is like <CODE>strlen</CODE>.  This is a
  +  touch confusing on the Java side, which is littered with odd autoincrement
     statements to skip over these terminators.  I believe the reason this was
     done was to allow the C code to be extra efficient when reading strings
     which the servlet container is sending back -- with the terminating \0
  
  
  

Mime
View raw message