Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005426 [Resin] minor always 04-23-13 06:54 05-29-13 07:01
Reporter cowan View Status public  
Assigned To ferg
Priority high Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.37 Product Version 4.0.35
  Product Build
Summary 0005426: HTTP socket-timeout does not work without JNI modules
Description If the resin JNI modules(libresin.so, libresin_os.so, libresinssl.so) exist in $RESIN_HOME/libexec64 folder. The socket timeout works very well.

But If Resin JNI modules does not exist in the $RESIN_HOME/libexec64 folder,
This socket timeout issue always can be reproducible.

For example,

#>cd resin-pro-4.0.35
#>vi conf/resin.xml
    <http address="*" port="8080">
        <keepalive-timeout>5s</keepalive-timeout>
        <socket-timeout>65s</socket-timeout>
    </http>
#>mv libexec64 libexec64.orig <-- to does not use JNI modules
#>bin/resinctl -server a start
#>telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'

After a socket connection established as above,
If I do not send any data to resin ( as a DOS attack state )
The established socket connection will not be closed after 65 second( even 1 hour ).
Steps To Reproduce
Additional Information Rep by HS Im
Attached Files

- Relationships

- Notes
(0006244)
ferg
05-01-13 10:57

network/0235
 
(0006266)
cowan
05-29-13 06:59

Fixing fixed version
 

- Issue History
Date Modified Username Field Change
04-23-13 06:54 cowan New Issue
05-01-13 10:57 ferg Note Added: 0006244
05-01-13 10:57 ferg Assigned To  => ferg
05-01-13 10:57 ferg Status new => closed
05-01-13 10:57 ferg Resolution open => fixed
05-01-13 10:57 ferg Fixed in Version  => 4.0.36
05-29-13 06:59 cowan Status closed => feedback
05-29-13 06:59 cowan Resolution fixed => reopened
05-29-13 06:59 cowan Note Added: 0006266
05-29-13 07:01 cowan Status feedback => closed
05-29-13 07:01 cowan Resolution reopened => fixed
05-29-13 07:01 cowan Fixed in Version 4.0.36 => 4.0.37


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker