Branch

  • Show log

    Commit

  • Hash : 98b7ca30
    Author : Kirill Rd
    Date : 2024-11-02T21:39:57

    http: allow passing in pre-existing connection bev (#1722)
    
    This patch adds functionality to pass a pre-existing connection
    as a bufferevent to `evhttp_connection_base_bufferevent_reuse_new`.
    
    When the bufferevent has an existing fd, the evcon starts
    in state `EVCON_IDLE` so that requests can be made immediately.
    
    Signed-off-by: Kirill Rodriguez <theoden8@tutamail.com>
    Signed-off-by: Kirill Rodriguez <theoden8@tutamail.com>
    Co-authored-by: Wladimir J. van der Laan <laanwj@gmail.com>
    Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>