search for: max_send_more_len

Displaying 1 result from an estimated 1 matches for "max_send_more_len".

2019 Jun 10
2
[nbdkit PATCH] crypto: Tweak handling of SEND_MORE
..._recv (struct connection *conn, void *vbuf, size_t len) return 1; } +/* If this send()'s length is so large that it is going to require + * multiple TCP segments anyway, there's no need to try and merge it + * with any corked data from a previous send that used SEND_MORE. + */ +#define MAX_SEND_MORE_LEN (64 * 1024) + /* Write buffer to GnuTLS and either succeed completely * (returns 0) or fail (returns -1). flags is ignored for now. */ @@ -357,7 +363,11 @@ crypto_send (struct connection *conn, const void *vbuf, size_t len, int flags) assert (session != NULL); - if (flags & SEND_MORE...