httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@organic.com>
Subject Re: [PATCH] Port to BeOS
Date Tue, 02 Sep 1997 18:51:16 GMT
On Mon, 1 Sep 1997, Dean Gaudet wrote:

[SCOREBOARD_FILE]

> I believe I moved it to httpd.h ... or maybe scoreboard.h.  I'm too zoned
> right now to check.  I remember having a reason to move it ... 

Well, if you moved it, it never showed up at its destination, so I added
it back to http_main.c

> > +#ifndef BEOS
> > +/* BeOS does not support SO_KEEPALIVE */
> >      if (setsockopt(s, SOL_SOCKET,SO_KEEPALIVE,(char *)&one,sizeof(int)) <
0) {
> >          log_unixerr("setsockopt", "(SO_KEEPALIVE)", NULL, server_conf);
> >          exit(1);
> >      }
> >  #endif
> > +#endif
> 
> Can you use #ifdef SO_KEEPALIVE ?

Probably. I just copied what was already there a few lines above for MPE
and SO_REUSEADDR.

-- Alexei Kosut <akosut@organic.com>


Mime
View raw message