summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-11-22 18:02:34 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-11-22 18:18:31 +0000
commit05b70ebcdceb3d0b2eadd39b84782d22b63ed9a2 (patch)
treeaa5556479a9d093211336f6dace9ceec85dc32ef /src
parent0a2ba2bab7cf3f8c98fa1e5232d3fe0be69b9ab6 (diff)
Fix shutdown=no in ${readsocket}. Bug 2784
Broken-by: 1950cf85b4
Diffstat (limited to 'src')
-rw-r--r--src/src/lookups/readsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/lookups/readsock.c b/src/src/lookups/readsock.c
index 7bb3b9ab5..06058ed17 100644
--- a/src/src/lookups/readsock.c
+++ b/src/src/lookups/readsock.c
@@ -255,7 +255,7 @@ if (TRUE)
if (!cctx->tls_ctx)
#endif
{
- FILE * fp = fdopen(cctx->sock, lf.do_shutdown ? "rb" : "wb");
+ FILE * fp = fdopen(cctx->sock, "rb");
ALARM(timeout);
yield = cat_file(fp, NULL, eol);
}