httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Bligh <a...@alex.org.uk>
Subject Re: Debugging mod_websocket -- any others out there?
Date Tue, 03 Mar 2015 21:20:24 GMT

On 3 Mar 2015, at 21:00, Jacob Champion <jacob.champion@ni.com> wrote:

> It turns out this works pretty well. The key complication is that the
> wakeup is lossy (multiple simultaneous wakeups are treated as one) so
> it's important to drain the entire "message queue" before polling again.
> I borrowed mod_spdy's sort-of-busy-loop approach to do that, and I used
> mod_proxy_wstunnel's poll-on-the-input-socket approach to block.
> 
> The result is a mod_websocket that hasn't crashed yet during overnight
> TLS stress tests (it used to crash regularly within a couple of seconds
> of starting). I was also able to remove the extra pool and bucket
> allocator that Alex added, since reading and writing are now done using
> only a single thread.
> 
> I'm waiting on internal approval to post the five-patch set here (unless
> of course there is any objection from the mailing list; I don't see a
> lot of patch mail in the archives). It would make more sense to
> contribute directly to the original author, if said author were still
> around...

I for one would be interested in this. Feel free to fork my repo on
github.

-- 
Alex Bligh





Mime
View raw message