#21 evhttp should accept an exisiting socket to listen on

API
closed
nobody
None
5
2008-02-26
2007-11-27
No

There has been a request to allow evhttp to accept an already created socket for listening on; the main motivation was to create one socket, fork a bunch of processes and then have the http server listen on the same socket for load balancing;

this should be straight forward; we already have evhttp_bind_socket() and could add an evhttp_accept_socket() that takes an exisiting socket.

Discussion

  • Niels Provos

    Niels Provos - 2008-02-26
    • status: open --> closed
     
  • Niels Provos

    Niels Provos - 2008-02-26

    Logged In: YES
    user_id=245089
    Originator: YES

    this is now provided in trunk; this might be a candidate for merging into the patches-1.4 branch - however, we do not have evutil_socket_t there.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks