tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni Socket.java
Date Mon, 18 Apr 2005 16:25:20 GMT
mturk       2005/04/18 09:25:20

  Modified:    jni/java/org/apache/tomcat/jni Socket.java
  Log:
  Update javadocs for sendfilet.
  
  Revision  Changes    Path
  1.12      +3 -5      jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/Socket.java
  
  Index: Socket.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/Socket.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Socket.java	18 Apr 2005 16:22:22 -0000	1.11
  +++ Socket.java	18 Apr 2005 16:25:20 -0000	1.12
  @@ -448,10 +448,6 @@
       /**
        * Send a file from an open file descriptor to a socket, along with
        * optional headers and trailers, with a timeout.
  -     * <br />
  -     * This functions acts like a blocking write by default.  To change
  -     *         this behavior, use apr_socket_timeout_set() or the
  -     *         APR_SO_NONBLOCK socket option.
        * The number of bytes actually sent is stored in the len parameter.
        * The offset parameter is passed by reference for no reason; its
        * value will never be modified by the apr_socket_sendfile() function.
  @@ -462,6 +458,8 @@
        * @param offset Offset into the file where we should begin writing
        * @param len Number of bytes to send from the file
        * @param flags APR flags that are mapped to OS specific flags
  +     * @param timeout Socket timeout to use with the call. The original
  +     *                socket timeout will be preserved.
        * @return Number of bytes actually sent, including headers,
        *         file, and trailers
        *
  
  
  

---------------------------------------------------------------------
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