Re: Can a module control the socket transport protocol? - revisited

2013-11-07 Thread Jonathan T. Leighton
I think the answer to my question is sort of, but not really. It appears that httpd can support alternate network transport protocols within strict limits. The MPMs (at least prefork, worker, and event), all call ap_setup_listeners() to set various socket options, bind(), and listen() on all th

Can a module control the socket transport protocol? - revisited

2013-11-06 Thread Jon Leighton
I'm revisiting this question (from several months ago), primarily because I know more now that I did then - though still not enough. :) There are a couple places in the httpd code that state or imply that httpd is not restricted to TCP - that other network transport protocols can be used. In p

Re: Can a module control the socket transport protocol?

2013-06-19 Thread Jon Leighton
On 6/19/13 10:46 AM, Matthew Steele wrote: On Tue, Jun 18, 2013 at 8:19 PM, Jon Leighton wrote: I don't think simply swapping SCTP for TCP has anything to offer HTTP - that's just a starting point for me. I'm more interested in putting SCTP's streams to good use, such as possibly tying it into

Re: Can a module control the socket transport protocol?

2013-06-19 Thread Matthew Steele
On Tue, Jun 18, 2013 at 8:19 PM, Jon Leighton wrote: > I don't think simply swapping SCTP for TCP has anything to offer HTTP - > that's just a starting point for me. I'm more interested in putting SCTP's > streams to good use, such as possibly tying it into mod-spdy. I've hacked > older versions

Re: Can a module control the socket transport protocol?

2013-06-18 Thread Jon Leighton
On 6/18/13 5:46 PM, Nick Kew wrote: On 18 Jun 2013, at 22:18, Jon Leighton wrote: I've been looking into the possibility of writing a module to support using SCTP as an alternative to TCP. After spending some time reading "The Apache Modules Book" and looking through the code, I have the impr

Re: Can a module control the socket transport protocol?

2013-06-18 Thread Nick Kew
On 18 Jun 2013, at 22:18, Jon Leighton wrote: > I've been looking into the possibility of writing a module to support using > SCTP as an alternative to TCP. After spending some time reading "The Apache > Modules Book" and looking through the code, I have the impression that the > module archit

Can a module control the socket transport protocol?

2013-06-18 Thread Jon Leighton
I've been looking into the possibility of writing a module to support using SCTP as an alternative to TCP. After spending some time reading "The Apache Modules Book" and looking through the code, I have the impression that the module architecture doesn't support controlling the types of sockets