Skip to content

Commit

Permalink
sigpipe now ignoring again
Browse files Browse the repository at this point in the history
  • Loading branch information
derekg committed Aug 13, 2008
1 parent 7a2ccae commit 811a3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/slayer_http_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ int handle_incoming_connections(slayer_http_server_t *server) {
int connections_count = 0;
slayer_http_connection_t *connections[500];

//sigset(SIGPIPE,SIG_IGN);
sigset(SIGPIPE,SIG_IGN);
status = apr_socket_create(&conn,APR_INET,SOCK_STREAM,APR_PROTO_TCP,server->mpool);
status = apr_socket_opt_set(conn,APR_SO_REUSEADDR,1);
status = apr_socket_opt_set(conn,APR_SO_NONBLOCK,1);
Expand Down

0 comments on commit 811a3af

Please sign in to comment.