BIO sender was not scheduling tasks to the executor during normal operation.
Patch provided by Ariel.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1033920 13f79535-47bb-0310-9956-
ffa450edef68
socket.setSoTimeout(getTimeout());
ObjectReader reader = new ObjectReader(socket);
task.serviceSocket(socket,reader);
+ getExecutor().execute(task);
}//while
}
try {
drainSocket();
} catch ( Exception x ) {
- log.error("Unable to service bio socket");
+ log.error("Unable to service bio socket", x);
}finally {
try {socket.close();}catch ( Exception e){/* Ignore */}
try {reader.close();}catch ( Exception e){/* Ignore */}
public synchronized void serviceSocket(Socket socket, ObjectReader reader) {
this.socket = socket;
this.reader = reader;
- this.notify(); // awaken the thread
}
protected void execute(ObjectReader reader) throws Exception{
(kfujino)
</fix>
<fix>
+ <bug>50183</bug>: BIO sender was not scheduling tasks to the executor
+ during normal operation. Patch provided by Ariel. (markt)
+ </fix>
+ <fix>
<bug>50184</bug>: Add an option to the RpcChannel to enable the Channel
send options to be set for the reply message. Based on a patch by Ariel.
- (markt))
+ (markt)
</fix>
</changelog>
</subsection>