Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#283 SIGPIPE error

open
nobody
5
2012-07-19
2012-07-19
zhiguo
No

we write a program with libevent for makeup a file webserver,and when use xunlei7.2.3.3254 download the file , the program error happens without nothing message. and we use tcpdump catch the http package. find that the server tries to send a http response via \"closed\" socket. And then, SIGPIPE error happens. i wish you can fix this bug, thank you.

Discussion

  • Nick Mathewson
    Nick Mathewson
    2012-07-23

    Your best workaround here is probably to set SIG_IGN on the sigpipe signal.

    Also, please have a look at Mark Ellzey's libevhtp library -- it is meant to be the successor to evhttp, and it is already, for many users, a better replacement.