Re: [PATCH] better timeout enforcement (was: (no subject)

2011-10-06 Thread Graham Barr
On Oct 5, 2011, at 14:46 , Jared Johnson wrote: > eh... didn't mean to send this with no subject :) > >> Our software generates a whole lot of concurrent LDAP traffic right now >> and we started running into an issue where our child processes would hang >> forever waiting around for LDAP operati

Re: [PATCH] better timeout enforcement (was: (no subject)

2011-10-06 Thread Jared Johnson
> $sock->timeout is intended to be a connect timeout. Why should read > timeout be the same. well, it seemed like a good compromise short of providing a new API, which I didn't have any bright ideas about. If you thought it best to provide such an API, I wouldn't object to using it :) Also, I gu

Re: [PATCH] better timeout enforcement (was: (no subject)

2011-10-06 Thread Graham Barr
On Oct 6, 2011, at 09:43 , Jared Johnson wrote: >> $sock->timeout is intended to be a connect timeout. Why should read >> timeout be the same. > > well, it seemed like a good compromise short of providing a new API, which > I didn't have any bright ideas about. If you thought it best to provide