fix: remove NODELAY and CORK options
This commit is contained in:
parent
6fdc283cc4
commit
f5d8514a27
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-08-09 03:26+0300\n"
|
||||
"POT-Creation-Date: 2024-08-09 03:32+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -91,18 +91,6 @@ bool lm_mptp_socket_opts(int sock){
|
||||
return false;
|
||||
}
|
||||
|
||||
if (setsockopt(sock, SOL_TCP, TCP_NODELAY, &flags, sizeof(int)) < 0) {
|
||||
lm_error_set(LM_ERR_MPTPSetsockopt);
|
||||
lm_mptp_close(sock);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (setsockopt(sock, SOL_TCP, TCP_CORK, &flags, sizeof(int)) < 0) {
|
||||
lm_error_set(LM_ERR_MPTPSetsockopt);
|
||||
lm_mptp_close(sock);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user