Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
914 | minor | sometimes | 02-03-06 02:55 | 02-27-06 07:10 | |
|
|||||
Reporter: | mate | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.17 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.18 | ||
|
|||||
Summary: | 0000914: ignore-client-disconnect does not affect JNI connections | ||||
Description: |
If JNI connections are in use (such as OpenSSL connections or Resin Pro "performance enhanced" HTTP connections) exceptions will be throws if client disconnects even if ignore-client-disconnect is set to true. I have personally been unable to reproduce the problem by hitting Stop in the browser, but I can see our server reporting it for our customers. |
||||
Steps To Reproduce: | |||||
Additional Information: |
Here are two example stacktraces. For OpenSSL: com.caucho.vfs.ClientDisconnectException: connection reset by peer at com.caucho.vfs.JniStream.exception(JniStream.java:168) at com.caucho.vfs.JniStream.write(JniStream.java:132) at com.caucho.vfs.WriteStream.flushBuffer(WriteStream.java:372) at com.caucho.server.connection.AbstractHttpResponse.finish(AbstractHttpResponse.java:1968) at com.caucho.server.connection.AbstractHttpResponse.close(AbstractHttpResponse.java:266) at com.caucho.server.connection.AbstractHttpResponse.sendRedirect(AbstractHttpResponse.java:590) For "performance enhanced" HTTP: com.caucho.vfs.JniStream.exception(JniStream.java:162) com.caucho.vfs.JniStream.write(JniStream.java:132) com.caucho.vfs.WriteStream.nextBuffer(WriteStream.java:311) com.caucho.server.connection.ResponseStream.writeNext(ResponseStream.java:475) com.caucho.server.connection.ToByteResponseStream.flushByteBuffer(ToByteResponseStream.java:518) com.caucho.server.connection.ToByteResponseStream.flushBuffer(ToByteResponseStream.java:424) com.caucho.server.connection.ResponseStream.flushBuffer(ResponseStream.java:624) com.caucho.server.connection.ResponseStream.getBuffer(ResponseStream.java:228) com.caucho.vfs.i18n.ISO8859_1Writer.write(ISO8859_1Writer.java:106) com.caucho.server.connection.ToByteResponseStream.flushCharBuffer(ToByteResponseStream.java:469) com.caucho.server.connection.ToByteResponseStream.write(ToByteResponseStream.java:321) com.caucho.server.connection.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:68) com.caucho.server.connection.IncludeResponseStream.writeNext(IncludeResponseStream.java:248) com.caucho.server.connection.ToByteResponseStream.flushByteBuffer(ToByteResponseStream.java:518) com.caucho.server.connection.ToByteResponseStream.flushBuffer(ToByteResponseStream.java:424) com.caucho.server.connection.ToByteResponseStream.close(ToByteResponseStream.java:442) com.caucho.server.connection.IncludeResponseStream.close(IncludeResponseStream.java:318) com.caucho.server.connection.AbstractHttpResponse.finish(AbstractHttpResponse.java:1949) com.caucho.server.connection.AbstractHttpResponse.close(AbstractHttpResponse.java:266) com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:516) com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:341) com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:897) |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|