Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28
- Original Message - Subject: Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28 Date: Wed, 20 Jun 2012 13:30:26 -0700 From: Scott Ferguson f...@caucho.com On 06/19/2012 02:18 PM, Scott Ferguson wrote: On 06/19/2012 01:13 AM, Mattias Jiderhamn wrote: - Original Message - Subject: Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28 Date: Fri, 15 Jun 2012 11:29:12 +0200 From: Mattias Jiderhamnmj-li...@expertsystems.se I can recreate this quite easily, without any forwards. All that is needed is a large enough ( 75 parts) form. ... Were you able to recreate this? Not yet. I'm doing a bug list pass from oldest to newest. I should get to it in a day or two. Is this an SSL request? I'm duplicating it with OpenSSL, but it's an OpenSSL buffering issue (in combination with Resin's timeouts). It wouldn't affect non-SSL requests. You are right, problem only occurs with OpenSSL. Resin 4.0.25 works fine while 4.0.28 does not, with the same OpenSSL version. Does Resin 4.0.28 require a newer OpenSSL version than 4.0.25? -- /Mattias ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28
On 06/19/2012 02:18 PM, Scott Ferguson wrote: On 06/19/2012 01:13 AM, Mattias Jiderhamn wrote: - Original Message - Subject: Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28 Date: Fri, 15 Jun 2012 11:29:12 +0200 From: Mattias Jiderhamnmj-li...@expertsystems.se I can recreate this quite easily, without any forwards. All that is needed is a large enough ( 75 parts) form. ... Were you able to recreate this? Not yet. I'm doing a bug list pass from oldest to newest. I should get to it in a day or two. Is this an SSL request? I'm duplicating it with OpenSSL, but it's an OpenSSL buffering issue (in combination with Resin's timeouts). It wouldn't affect non-SSL requests. -- Scott -- Scott ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28
- Original Message - Subject: Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28 Date: Fri, 15 Jun 2012 11:29:12 +0200 From: Mattias Jiderhamn mj-li...@expertsystems.se - Original Message - Subject: Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28 Date: Thu, 14 Jun 2012 10:26:12 -0700 From: Scott Ferguson f...@caucho.com On 06/14/2012 08:21 AM, Mattias Jiderhamn wrote: I'm really glad Resin 4.0.28 is here since it resolves multiple issues we've been having lately. However, it seems a new critical issue may have been introduced since 4.0.25. I've filed this as http://bugs.caucho.com/view.php?id=5120 ... If you can create a tiny example POST that triggers the problem and send it, that should help track it down. I can recreate this quite easily, without any forwards. All that is needed is a large enough ( 75 parts) form. ... Were you able to recreate this? -- /Mattias ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28
On 06/19/2012 01:13 AM, Mattias Jiderhamn wrote: - Original Message - Subject: Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28 Date: Fri, 15 Jun 2012 11:29:12 +0200 From: Mattias Jiderhamnmj-li...@expertsystems.se I can recreate this quite easily, without any forwards. All that is needed is a large enough ( 75 parts) form. ... Were you able to recreate this? Not yet. I'm doing a bug list pass from oldest to newest. I should get to it in a day or two. -- Scott ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28
On 06/14/2012 08:21 AM, Mattias Jiderhamn wrote: I'm really glad Resin 4.0.28 is here since it resolves multiple issues we've been having lately. However, it seems a new critical issue may have been introduced since 4.0.25. I've filed this as http://bugs.caucho.com/view.php?id=5120 Is it possible that this code is from a forward? I just closed a bug where a forwarded form would try to double-read the content. Otherwise, this looks new. If you can create a tiny example POST that triggers the problem and send it, that should help track it down. Our plan is to release the next few versions fairly quickly, focusing just on bug fixes. -- Scott When running on 64-bit Linux, compiled with --enable-64bit and --enable-ssl, and posting a multipart/form-data form without any file parts included, we're getting timeouts. See stacktrace below. We do not have any issues with - non-multipart forms - multipart forms containing file parts - multipart forms without file parts, when running on Windows Have there been any additional configuration parameters added, that might be worth trying out? Any other ideas? Thanks in advance. [2012-06-14 17:13:21.414] com.caucho.vfs.SocketTimeoutException: client timeout at com.caucho.vfs.JniStream.exception(JniStream.java:231) at com.caucho.vfs.JniStream.read(JniStream.java:83) at com.caucho.vfs.ReadStream.read(ReadStream.java:472) at com.caucho.server.http.ContentLengthStream.read(ContentLengthStream.java:75) at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:1239) at com.caucho.vfs.ReadStream.read(ReadStream.java:365) at com.caucho.vfs.MultipartStream.read(MultipartStream.java:420) at com.caucho.vfs.MultipartStream.read(MultipartStream.java:352) at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:1239) at com.caucho.vfs.ReadStream.readChar(ReadStream.java:571) at com.caucho.server.http.MultipartFormParser.parsePostData(MultipartFormParser.java:177) at com.caucho.server.http.AbstractCauchoRequest.parsePostQueryImpl(AbstractCauchoRequest.java:441) at com.caucho.server.http.AbstractCauchoRequest.parseQueryImpl(AbstractCauchoRequest.java:275) at com.caucho.server.http.AbstractCauchoRequest.getParts(AbstractCauchoRequest.java:232) at se.exder.servlet.ServletUtils.parseMultipart(ServletUtils.java:303) ... ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest