mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 11:02:53 +00:00
FS-9622 #resolve fix buffer size calculation in http interface in mod_verto
This commit is contained in:
parent
d755ed091a
commit
241bbd1529
@ -1613,7 +1613,7 @@ new_req:
|
||||
goto request_err;
|
||||
}
|
||||
|
||||
if ((bytes = request.bytes_buffered - (request.bytes_read - request.bytes_header)) > 0) {
|
||||
if ((bytes = request.bytes_buffered - request.bytes_read) > 0) {
|
||||
memcpy(buffer, jsock->ws.buffer + request.bytes_read, bytes);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user