diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-09 17:14:56 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-09 17:14:56 +0000 |
| commit | 46f4d80c4c40559a383d001838d766b2b438f4f0 (patch) | |
| tree | a1471d419df12d24edea840df64da269a656ca33 /src/tipideed/stream.c | |
| parent | eb56bacc8f5fff95cb752a7f8b3aefe8ed3f3d9a (diff) | |
| download | tipidee-46f4d80c4c40559a383d001838d766b2b438f4f0.tar.gz | |
Move string cmp operations to skalibs. Add cgit-nollmcrawler.
Diffstat (limited to 'src/tipideed/stream.c')
| -rw-r--r-- | src/tipideed/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tipideed/stream.c b/src/tipideed/stream.c index 5d368b2..9774812 100644 --- a/src/tipideed/stream.c +++ b/src/tipideed/stream.c @@ -52,14 +52,14 @@ static ssize_t fixed_get (void *b) void cork (int fd) { static int const val = 1 ; - if (setsockopt(fd, SOL_TCP, TCP_CORK, &val, sizeof(int)) == -1 && g.logv) + if (!g.ssl && setsockopt(fd, SOL_TCP, TCP_CORK, &val, sizeof(int)) == -1 && g.logv) strerr_warnwu1sys("uncork stdout") ; } void uncork (int fd) { static int const val = 0 ; - if (setsockopt(fd, SOL_TCP, TCP_CORK, &val, sizeof(int)) == -1 && g.logv) + if (!g.ssl && setsockopt(fd, SOL_TCP, TCP_CORK, &val, sizeof(int)) == -1 && g.logv) strerr_warnwu1sys("uncork stdout") ; } |
