diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-16 15:38:38 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-16 15:38:38 +0200 |
commit | 56fef6867fc30100b77be1146e4e70bf25970e6b (patch) | |
tree | 7da16d19cdef6f3c5bc0befbe4583a7e7675e19c /util-src/crand.c | |
parent | 07afd46b58ce91ac96a64140c3a1b7479a6e01fc (diff) | |
download | prosody-56fef6867fc30100b77be1146e4e70bf25970e6b.tar.gz prosody-56fef6867fc30100b77be1146e4e70bf25970e6b.zip |
net.server_epoll: Avoid allocating a buffer table for single writes
writebuffer is now string | { string }
Saves the allocation of a buffer table until the second write, which
could be rare, especially with opportunistic writes.
Diffstat (limited to 'util-src/crand.c')
0 files changed, 0 insertions, 0 deletions