• Show log

    Commit

  • Hash : 8bb38425
    Author : Azat Khuzhin
    Date : 2014-11-15T21:46:11

    bufferevent: move conn_address out from http into bufferevent
    
    In http the only case when when we could store it is when we already
    connected, *but* if we are doing request using domain name, then we need
    to do request to nameserver to get IP address, and this is handled by
    bufferevent.
    So when we have IP address (from nameserver) and don't have connection
    to this IP address, we could already cache it to avoid extra DNS
    requests (since UDP is slow), and we can't do this from http layer, only
    from bufferevent.