Re: [naviserver-devel] lurking bugs: conn threads

2012-10-26 Thread Jeff Rogers
Andrew Piskorski wrote: > On Fri, Oct 26, 2012 at 08:30:26PM +0100, Stephen Deasey wrote: > >> I was thinking it could work something like this: >> >> - driver acquires lock, takes first conn thread off queue, releases lock > > What if there are no conn threads waiting in the queue? > Same as curr

Re: [naviserver-devel] lurking bugs: conn threads

2012-10-26 Thread Jeff Rogers
Stephen Deasey wrote: > Interesting, but I wonder if we're not thinking this through > correctly. My suggestion, and your here, and Gustaf's recet work are > all aimed at refining the model as it currently is, but I wonder if > we're even attempting to do the right thing? Do we even know what the

Re: [naviserver-devel] lurking bugs: conn threads

2012-10-26 Thread Andrew Piskorski
On Fri, Oct 26, 2012 at 08:30:26PM +0100, Stephen Deasey wrote: > I was thinking it could work something like this: > > - driver acquires lock, takes first conn thread off queue, releases lock What if there are no conn threads waiting in the queue? -- Andrew Piskorski ---

Re: [naviserver-devel] lurking bugs: conn threads

2012-10-26 Thread Stephen Deasey
Interesting, but I wonder if we're not thinking this through correctly. My suggestion, and your here, and Gustaf's recet work are all aimed at refining the model as it currently is, but I wonder if we're even attempting to do the right thing? > So I'm assuming that the available processing power -

Re: [naviserver-devel] code cleanup

2012-10-26 Thread Maurizio Martignano
Dear all, I do apologize for my inactivity but some health problem has "distracted" me from the computer. Hopefully I should be able to come back fully operative pretty soon. First of all I would like to thank Gustav for his work. Secondly, it seems to me there are two major activities go

Re: [naviserver-devel] lurking bugs: conn threads

2012-10-26 Thread Stephen Deasey
On Thu, Oct 25, 2012 at 10:31 AM, Gustaf Neumann wrote: > I don't think, that a major problem comes from the "racy" > notification of queuing events to the connection threads. > This has advantages (make os responsible, which does this > very efficiently, less mutex requirements) and disadvantage

[naviserver-devel] code cleanup

2012-10-26 Thread Gustaf Neumann
Dear friends, Over the last days i did some cleanup that i have just committed with one changeset to bitbucket. With these changes, naviserver still compiles with "clang -Wall -pedantic", and passes all regression tests. Furthermore, it compiles but as well with Microsoft Visual Studio 11 witho

Re: [naviserver-devel] Hello

2012-10-26 Thread Stephen Deasey
On Wed, Oct 24, 2012 at 5:01 PM, Agustin Lopez wrote: > > When I run the server I get error with Ns_ConfigSection from my compiled > nsldap. > I suppose that it is a known problem. Any pointer to work it? What is the exact error message? --

Re: [naviserver-devel] compression

2012-10-26 Thread Stephen Deasey
On Thu, Oct 25, 2012 at 9:20 PM, Jeff Rogers wrote: > It looks like we're enabling compression for all http/1.1 requests > regardless of whether it was specified in the request header, or even > specifically disallowed. This seems incorrect, but the code has been in > place for several years (con