summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-22 16:15:05 +0200
committerSimon Rettberg2024-05-22 16:15:05 +0200
commitdf0eadbb8503489f89fc432a0497c0b5de8d64bc (patch)
tree669ead64dc2606d30efbd09dd95f27ca55e8271e
parent[KERNEL] Use next pending request for discovery in panic mode (diff)
downloaddnbd3-df0eadbb8503489f89fc432a0497c0b5de8d64bc.tar.gz
dnbd3-df0eadbb8503489f89fc432a0497c0b5de8d64bc.tar.xz
dnbd3-df0eadbb8503489f89fc432a0497c0b5de8d64bc.zip
[FUSE] cow: Fix lowercasing of header field
-rw-r--r--src/fuse/cowfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuse/cowfile.c b/src/fuse/cowfile.c
index 525eef0..a0d4443 100644
--- a/src/fuse/cowfile.c
+++ b/src/fuse/cowfile.c
@@ -552,7 +552,7 @@ static size_t curlHeaderCallbackUploadBlock( char *buffer, size_t size, size_t n
if ( len < 13 )
return len;
for ( int i = 0; i < 11; ++i ) {
- buffer[i] |= 0x60;
+ buffer[i] |= 0x20;
}
if ( strncmp( buffer, "retry-after:", 12 ) != 0 )
return len;