Good morning All. This would also allow closing of Bug 17579 since the recent changeover to APR for mod_jk2 (now using jk_channel_apr_socket.c)
Norm > Hi, > a user just found that the port number is limited to less than 32768 with mod_jk2; > the patch below solves this: > http://www.gknw.com/test/jk_channel_apr_socket.c.diff > > ============================================================================ == > --- ./native2/common/jk_channel_apr_socket.c.orig Thu Jan 29 18:23:28 2004 > +++ ./native2/common/jk_channel_apr_socket.c Sat Jan 31 01:45:56 2004 > @@ -74,9 +74,9 @@ > */ > struct jk_channel_apr_private { > int ndelay; > + apr_port_t port; > apr_sockaddr_t *addr; > char *host; > - short port; > int keepalive; > int timeout; > }; > @@ -168,7 +168,7 @@ > jk_channel_apr_private_t *socketInfo= > (jk_channel_apr_private_t *)(ch->_privatePtr); > int rc; > - short port=socketInfo->port; > + apr_port_t port=socketInfo->port; > > if( socketInfo->host==NULL ) { > char *localName=ch->mbean->localName; > > Guenter. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]