} else if (actionCode == ActionCode.COMET_END) {
comet = false;
} else if (actionCode == ActionCode.COMET_CLOSE) {
- //no op
+ endpoint.processSocketAsync(this.socket, SocketStatus.OPEN);
} else if (actionCode == ActionCode.COMET_SETTIMEOUT) {
//no op
} else if (actionCode == ActionCode.ASYNC_COMPLETE) {
waitingRequests.iterator();
while (sockets.hasNext()) {
SocketWrapper<Long> socket = sockets.next();
- long access = socket.getLastAccess();
- if ((now-access)>socket.getTimeout()) {
- processSocketAsync(socket,SocketStatus.TIMEOUT);
+ if (socket.async) {
+ long access = socket.getLastAccess();
+ if ((now-access)>socket.getTimeout()) {
+ processSocketAsync(socket,SocketStatus.TIMEOUT);
+ }
}
}
(kfujino)
</fix>
<fix>
+ <bug>50044</bug>: Fix issue in APR/native connector when using comet
+ where socket remained in long poll after the comet request has ended.
+ (markt)
+ </fix>
+ <fix>
<bug>50054</bug>: Correctly handle the setting of minSpareThreads in
AJP connector. (kfujino)
</fix>