Mantis - Resin
Viewing Issue Advanced Details
1490 minor always 12-04-06 12:15 01-03-07 11:42
sam  
ferg  
urgent  
closed 3.0.22  
fixed  
none    
none 3.1.1  
0001490: Configurable timeout for mod_caucho poll call on Windows
(rep by T Fukuda)

Resin 3.0.22 times out with a 503 after 10 minutes, Resin 3.0.14 did not.

(CASE1)Resin3.0.14 + Apache/2.0.55 (Win32)
  o At the end of process(=after 30m), a browser get a result
    from test.jsp.
    --> It is expected.

(CASE2)Resin3.0.21 + Apache/2.0.55 (Win32)
  o Just 10m later, a browser displays "Service Temporarily Unavailable".
    --> It is unexpected.

(2) In the CASE2,
    is this related below part?

    resin-pro-3.0.21/modules/c/src/common/stream.c
    #ifdef

    ==========================================
    stream.c
    ------------------------------------------
    /**
     * Read for non-ssl.
     */
    static int
    std_read(stream_t *s, void *buf, int length)
    {
    #ifdef WIN32
      if (poll_read(s->socket, 600) <= 0)
        return -1;
    #endif

      return recv(s->socket, buf, length, 0);
    }
    ==========================================

There are no notes attached to this issue.