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 mod-spdy. I've hacked
older versions of httpd to support HTTP over SCTP streams, but I was hoping
to do something much cleaner, like a module. My main concern is that I
don't see a way for a module to touch ap_listeners in listen.c, nor a way
to create my own list of listeners that I could somehow pass off to httpd.
I'll check out mod_ftp and mod_smtp as you suggested. Thanks very much.


By the way, if you do have any luck with supporting SCTP as a module, and
especially if you end up integrating at all with mod_spdy, I'd be very
interested to hear more about it!

Cheers,
-Matthew (mod_spdy author)


Glad to hear that - I won't keep it secret!


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 of httpd to support HTTP over SCTP streams, but I was hoping
> to do something much cleaner, like a module. My main concern is that I
> don't see a way for a module to touch ap_listeners in listen.c, nor a way
> to create my own list of listeners that I could somehow pass off to httpd.
> I'll check out mod_ftp and mod_smtp as you suggested. Thanks very much.
>

By the way, if you do have any luck with supporting SCTP as a module, and
especially if you end up integrating at all with mod_spdy, I'd be very
interested to hear more about it!

Cheers,
-Matthew (mod_spdy author)


How to fail in case of an error

2013-06-19 Thread markus.kopp
Hi,

what is the recommended way for a module to fail the start of Apache, if the 
module cannot be started (e.g. due to a configuration problem)?

Many thanks
Markus