49 int fd; |
49 int fd; |
50 struct sockaddr_in address; |
50 struct sockaddr_in address; |
51 HttpListener *listener; |
51 HttpListener *listener; |
52 SessionHandler *session_handler; |
52 SessionHandler *session_handler; |
53 SSL *ssl; |
53 SSL *ssl; |
|
54 WSBool ssl_accepted; |
54 int ssl_error; |
55 int ssl_error; |
55 int (*read)(Connection *conn, void *buf, int len); |
56 int (*read)(Connection *conn, void *buf, int len); |
56 int (*write)(Connection *conn, const void *buf, int len); |
57 int (*write)(Connection *conn, const void *buf, int len); |
57 void (*close)(Connection *conn); |
58 void (*close)(Connection *conn); |
58 }; |
59 }; |