tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boaz Shaham <Bo...@farechase.com>
Subject Bug #603
Date Sun, 17 Dec 2000 19:10:11 GMT
http://znutar.cortexity.com/BugRatViewer/ShowReport/603

I reported this bug earlier, but the workaround part disapeared from some
reason.
Here is what I wrote there:

in get_most_suitable_worker funtion , use another pointer to find the next
';' in session_route string, e.g. :
char *end_index = strchr(session_route, ';');

and later compare session_route to the worker name using strncmp, e.g. :
if(0 == strncmp(session_route, p->lb_workers[i].name, (size_t) (end_index -
session_route)))
{
...
}

Boaz Shaham
mailto:boazs@farechase.com
Tel: +972-9-7643597 
___________________________________


http://www.farechase.com/

420 Lexington Avenue, Suite 300                      R&D Office -
FareChase(Israel) LTD.
New York, NY 10170.                                       20 Hata'as St.
Kfar-Saba Israel.44425
Tel: 212-297-6141 Fax: 212-479-2518.            Tel: +972-9-7643575 Fax:
+972-9-7643576

Mime
View raw message