DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20561

Limitation of availiable high ports for JK2





------- Additional Comments From [EMAIL PROTECTED]  2003-07-01 19:57 -------
The TCP port is defined as a 'short' and is limited to 32767

A quick hack was to tweak jakarta-tomcat-connectors-jk2-2.0.2-
src/jk/native2/common/jk_channel_socket.c

$ diff jk_channel_socket.c.old jk_channel_socket.c.new

94c94
<     short port;
---
>     long port;
110c110
<                                                short port,
---
>                                                long port,
204c204
< static int JK_METHOD jk2_channel_socket_resolve(jk_env_t *env, char
*host, short port,
---
> static int JK_METHOD jk2_channel_socket_resolve(jk_env_t *env, char
*host, long port,

This is being tested now.  At first glance it appears to work.

-e

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to