Skip to content

Commit bb5f92c

Browse files
committed
ws fixes
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1777470 13f79535-47bb-0310-9956-ffa450edef68
1 parent 713d1fa commit bb5f92c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

java/org/apache/tomcat/util/net/NioEndpoint.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -771,12 +771,12 @@ public boolean processSocket(NioChannel socket, SocketStatus status, boolean dis
771771
return true;
772772
}
773773

774-
774+
775775
@Override
776776
public void removeWaitingRequest(SocketWrapper<NioChannel> socketWrapper) {
777777
// NO-OP
778778
}
779-
779+
780780

781781
@Override
782782
protected Log getLog() {
@@ -1100,7 +1100,7 @@ public void register(final NioChannel socket) {
11001100
else r.reset(socket,ka,OP_REGISTER);
11011101
addEvent(r);
11021102
}
1103-
1103+
11041104
public KeyAttachment cancelledKey(SelectionKey key, SocketStatus status, boolean dispatch) {
11051105
KeyAttachment ka = null;
11061106
try {
@@ -1388,10 +1388,10 @@ public SendfileState processSendfile(SelectionKey sk, KeyAttachment attachment,
13881388
// appropriate event(s) if sendfile completes.
13891389
if (!calledByProcessor) {
13901390
if ( sd.keepAlive ) {
1391-
if (log.isDebugEnabled()) {
1392-
log.debug("Connection is keep alive, registering back for OP_READ");
1393-
}
1394-
reg(sk,attachment,SelectionKey.OP_READ);
1391+
if (log.isDebugEnabled()) {
1392+
log.debug("Connection is keep alive, registering back for OP_READ");
1393+
}
1394+
reg(sk,attachment,SelectionKey.OP_READ);
13951395
} else {
13961396
if (log.isDebugEnabled()) {
13971397
log.debug("Send file connection is being closed");

0 commit comments

Comments
 (0)