• zhenwei pi's avatar
    Abstract accept handler · 0ae02ce9
    zhenwei pi authored
    
    
    Abstract accept handler for socket&TLS, and add helper function
    'connAcceptHandler' to get accept handler by specified type.
    
    Also move acceptTcpHandler into socket.c, and move
    acceptTLSHandler into tls.c.
    Signed-off-by: default avatarzhenwei pi <pizhenwei@bytedance.com>
    0ae02ce9
socket.c 15.1 KB