mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-25 03:43:27 -04:00
It's not normal to initialize the server-side stream interface from the accept() function, because it may change later. Thus, we introduce a new stream_sock_prepare_interface() function which is called just before the connect() and which sets all of the stream_interface's callbacks to the default ones used for real sockets. The ->connect function is also set at the same instant so that we can easily add new server-side protocols soon. |
||
|---|---|---|
| .. | ||
| common | ||
| import | ||
| proto | ||
| types | ||