Move more socket options into the flow framework.

This commit is contained in:
Ian Gulliver
2016-03-02 21:51:30 -08:00
parent 91775999d8
commit 10ba451458
8 changed files with 18 additions and 9 deletions

View File

@@ -12,6 +12,12 @@ void flow_socket_ready(int fd, struct flow *flow) {
}
}
void flow_socket_connected(int fd, struct flow *flow) {
if (flow->socket_connected) {
flow->socket_connected(fd);
}
}
bool flow_hello(int fd, struct flow *flow, void *passthrough) {
if (!flow->get_hello) {
return true;