httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] Port to BeOS
Date Wed, 03 Sep 1997 00:19:45 GMT


On Tue, 2 Sep 1997, Alexei Kosut wrote:

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

Oh sorry.

> > > +#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.

Yeah, I'm just saying it'd be nice to change this once and be done with it
... except for systems that define these symbols but don't implement them.

Dean


Mime
View raw message