ASF Bugzilla – Attachment 22217 Details for
Bug 43327
Socket bind fails on tomcat startup when using apr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
APR Java connector patch
bug43327-java-patch.txt (text/plain), 785 bytes, created by
Mark Thomas
on 2008-07-05 15:47:22 UTC
(
hide
)
Description:
APR Java connector patch
Filename:
MIME Type:
Creator:
Mark Thomas
Created:
2008-07-05 15:47:22 UTC
Size:
785 bytes
patch
obsolete
>Index: org/apache/tomcat/util/net/AprEndpoint.java >=================================================================== >--- org/apache/tomcat/util/net/AprEndpoint.java (revision 674213) >+++ org/apache/tomcat/util/net/AprEndpoint.java (working copy) >@@ -599,8 +599,8 @@ > long inetAddress = Address.info(addressStr, family, > port, 0, rootPool); > // Create the APR server socket >- serverSock = Socket.create(family, Socket.SOCK_STREAM, >- Socket.APR_PROTO_TCP, rootPool); >+ serverSock = Socket.create(Address.getInfo(inetAddress).family, >+ Socket.SOCK_STREAM, Socket.APR_PROTO_TCP, rootPool); > if (OS.IS_UNIX) { > Socket.optSet(serverSock, Socket.APR_SO_REUSEADDR, 1); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43327
:
22036
|
22037
|
22216
| 22217