Author: rjung Date: Tue Dec 5 12:13:48 2006 New Revision: 482756 URL: http://svn.apache.org/viewvc?view=rev&rev=482756 Log: Dropping one of the two jk_endpoint members of the lb_endpoint. I could find not s single line apart from the deleted, where the jk_endpoint named "e" was used. Also tests showed, it was always NULL. Maybe e was supposed to be the endpoint of an lb member that actually services the request, but this endpoint is called "end" and onl lived in the lb service method locally.
Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?view=diff&rev=482756&r1=482755&r2=482756 ============================================================================== --- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original) +++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Tue Dec 5 12:13:48 2006 @@ -79,7 +79,6 @@ struct lb_endpoint { - jk_endpoint_t *e; lb_worker_t *worker; jk_endpoint_t endpoint; @@ -1098,10 +1097,6 @@ if (e && *e && (*e)->endpoint_private) { lb_endpoint_t *p = (*e)->endpoint_private; - if (p->e) { - p->e->done(&p->e, l); - } - free(p); *e = NULL; JK_TRACE_EXIT(l); @@ -1303,7 +1298,6 @@ if (pThis && pThis->worker_private && pend) { lb_endpoint_t *p = (lb_endpoint_t *) malloc(sizeof(lb_endpoint_t)); - p->e = NULL; p->worker = pThis->worker_private; p->endpoint.endpoint_private = p; p->endpoint.service = service; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]