From 27298e7763b13746c2608ec32fe5411a472b7b5b Mon Sep 17 00:00:00 2001 From: Nathan Bryant Date: Thu, 10 Dec 1998 21:10:45 +0000 Subject: [PATCH] * webserver.c: remove commented-out references to SO_LINGER --- webcit/ChangeLog | 1 + webcit/webserver.c | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 9723cd80e..f89fb6557 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,5 +1,6 @@ 1998-12-10 Nathan Bryant * context_loop.c: really fix the SO_LINGER stuff + * webserver.c: remove commented-out references to SO_LINGER Wed Dec 9 18:50:46 EST 1998 Art Cancro * context_loop.c: After fork(), child process closes the HTTP socket diff --git a/webcit/webserver.c b/webcit/webserver.c index aea5eff0a..2519b41a8 100644 --- a/webcit/webserver.c +++ b/webcit/webserver.c @@ -247,7 +247,6 @@ int main(int argc, char **argv) pthread_attr_t attr; /* Thread attributes */ int a, i; /* General-purpose variables */ int port = PORT_NUM; /* Port to listen on */ - /*struct linger WebLinger = { 1, 9000 };*/ /* Parse command line */ while ((a = getopt(argc, argv, "hp:")) != EOF) @@ -299,8 +298,6 @@ int main(int argc, char **argv) i = 1; setsockopt(ssock, SOL_SOCKET, SO_REUSEADDR, &i, sizeof(i)); -/* setsockopt(ssock, SOL_SOCKET, SO_LINGER, - &WebLinger, sizeof(struct linger));*/ /* set attributes for the new thread */ pthread_attr_init(&attr); -- 2.39.2