mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Rewritten the I/O loop. All socket operations are now safe, meaning that
you can delete the socket from anywhere in the hooks and nothing should break. Also, the receive/transmit buffers are now regular xmalloc()'ed buffers, not separate resources which would need shuffling around between pools. sk_close() is gone, use rfree() instead.
This commit is contained in:
@@ -249,7 +249,7 @@ cli_err(sock *s, int err)
|
||||
log(L_INFO "CLI connection closed");
|
||||
}
|
||||
cli_free(s->data);
|
||||
sk_close(s);
|
||||
rfree(s);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Reference in New Issue
Block a user