You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2002/06/25 09:08:47 UTC
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp12_worker.c
mturk 2002/06/25 00:08:47
Modified: jk/native/common jk_ajp12_worker.c
Log:
Introduced socket and cache timeout.
By Jan Singer, Henri Gomez and Mladen Turk.
Revision Changes Path
1.7 +4 -3 jakarta-tomcat-connectors/jk/native/common/jk_ajp12_worker.c
Index: jk_ajp12_worker.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp12_worker.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- jk_ajp12_worker.c 4 Dec 2001 19:39:54 -0000 1.6
+++ jk_ajp12_worker.c 25 Jun 2002 07:08:47 -0000 1.7
@@ -131,6 +131,7 @@
for(attempt = 0 ; attempt < p->worker->connect_retry_attempts ; attempt++) {
p->sd = jk_open_socket(&p->worker->worker_inet_addr,
JK_TRUE,
+ JK_FALSE,
l);
jk_log(l, JK_LOG_DEBUG, "In jk_endpoint_t::service, sd = %d\n", p->sd);
@@ -404,8 +405,8 @@
for(i = 0 ; i < s->num_attributes ; i++) {
ret = (ajpv12_mark(p, 5) &&
- ajpv12_sendstring(p, s->attributes_names[i]) &&
- ajpv12_sendstring(p, s->attributes_values[i]));
+ ajpv12_sendstring(p, s->attributes_names[i]) &&
+ ajpv12_sendstring(p, s->attributes_values[i]));
if(!ret) {
jk_log(l, JK_LOG_ERROR,
"In ajpv12_handle_request, failed to send environment\n");
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>