Changeset c2df303


Ignore:
Timestamp:
Jan 21, 2021, 1:47:48 PM (8 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
6387f07
Parents:
a6b587f
Message:

server now properly ignores SIGPIPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/main.cfa

    ra6b587f rc2df303  
    66#include <unistd.h>
    77extern "C" {
     8        #include <signal.h>
    89        #include <sys/socket.h>
    910        #include <netinet/in.h>
     
    7879//============================================================================================='
    7980int main( int argc, char * argv[] ) {
     81        __sighandler_t s = 1p;
     82        signal(SIGPIPE, s);
     83
    8084        //===================
    8185        // Parse args
Note: See TracChangeset for help on using the changeset viewer.