tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r701025 - /tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
Date Thu, 02 Oct 2008 07:56:53 GMT
Author: mturk
Date: Thu Oct  2 00:56:53 2008
New Revision: 701025

URL: http://svn.apache.org/viewvc?rev=701025&view=rev
Log:
Backport r701008 to chunked branch

Modified:
    tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c

Modified: tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c?rev=701025&r1=701024&r2=701025&view=diff
==============================================================================
--- tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
(original)
+++ tomcat/connectors/branches/other/jk_isapi_plugin_chunked/jk/native/iis/jk_isapi_plugin.c
Thu Oct  2 00:56:53 2008
@@ -312,12 +312,12 @@
                                     const char *const *header_values,
                                     unsigned int num_of_headers);
 
-static int JK_METHOD read(jk_ws_service_t *s,
+static int JK_METHOD iis_read(jk_ws_service_t *s,
                           void *b, unsigned int l, unsigned int *a);
 
-static int JK_METHOD write(jk_ws_service_t *s, const void *b, unsigned int l);
+static int JK_METHOD iis_write(jk_ws_service_t *s, const void *b, unsigned int l);
 
-static int JK_METHOD done(jk_ws_service_t *s);
+static int JK_METHOD iis_done(jk_ws_service_t *s);
 
 static int init_ws_service(isapi_private_data_t * private_data,
                            jk_ws_service_t *s, char **worker_name);
@@ -841,7 +841,7 @@
     return JK_FALSE;
 }
 
-static int JK_METHOD read(jk_ws_service_t *s,
+static int JK_METHOD iis_read(jk_ws_service_t *s,
                           void *b, unsigned int l, unsigned int *a)
 {
     JK_TRACE_ENTER(logger);
@@ -953,7 +953,7 @@
  *(and it's appropriate for the response), then this will write a
  * single "Transfer-Encoding: chunked" chunk
  */
-static int JK_METHOD write(jk_ws_service_t *s, const void *b, unsigned int l)
+static int JK_METHOD iis_write(jk_ws_service_t *s, const void *b, unsigned int l)
 {
     JK_TRACE_ENTER(logger);
 
@@ -1075,7 +1075,7 @@
 /**
  * In the case of a Transfer-Encoding: chunked response, this will write the terminator chunk.
  */
-static int JK_METHOD done(jk_ws_service_t *s)
+static int JK_METHOD iis_done(jk_ws_service_t *s)
 {
     JK_TRACE_ENTER(logger);
 
@@ -2568,9 +2568,9 @@
     JK_TRACE_ENTER(logger);
 
     s->start_response = start_response;
-    s->read = read;
-    s->write = write;
-    s->done = done;
+    s->read  = iis_read;
+    s->write = iis_write;
+    s->done  = iis_done;
 
     if (!(huge_buf = jk_pool_alloc(&private_data->p, MAX_PACKET_SIZE))) {
         JK_TRACE_EXIT(logger);



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


Mime
View raw message