diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:46:48 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:46:48 +0000 |
commit | 4ba66587c959ac9ea438f28d30743dc6627a5e58 (patch) | |
tree | 7ef5f283a71bd5bbf581ead16aee54910bd91048 /libserf-1.3.9-bio-ctrl.patch | |
parent | 02b3d38f56d7c958430eb3beb7677ca8b7dcf50d (diff) |
automatic import of libserfopeneuler24.03_LTS
Diffstat (limited to 'libserf-1.3.9-bio-ctrl.patch')
-rw-r--r-- | libserf-1.3.9-bio-ctrl.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libserf-1.3.9-bio-ctrl.patch b/libserf-1.3.9-bio-ctrl.patch new file mode 100644 index 0000000..b679edf --- /dev/null +++ b/libserf-1.3.9-bio-ctrl.patch @@ -0,0 +1,21 @@ +diff --git a/buckets/ssl_buckets.c b/buckets/ssl_buckets.c +index b01e5359db08..3c8b7e2a685f 100644 +--- a/buckets/ssl_buckets.c ++++ b/buckets/ssl_buckets.c +@@ -407,7 +407,7 @@ static int bio_bucket_destroy(BIO *bio) + + static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr) + { +- long ret = 1; ++ long ret = 0; + + switch (cmd) { + default: +@@ -415,6 +415,7 @@ static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr) + break; + case BIO_CTRL_FLUSH: + /* At this point we can't force a flush. */ ++ ret = 1; + break; + case BIO_CTRL_PUSH: + case BIO_CTRL_POP: |