HTTP lib: fix bug where last piece of data was not received during non-chunked transfer.
git-svn-id: svn://kolibrios.org@4561 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
5508396d48
commit
4c6ef451fb
@ -521,7 +521,7 @@ proc HTTP_process identifier ;//////////////////////////////////////////////////
|
|||||||
mov edi, [ebp + http_msg.write_ptr]
|
mov edi, [ebp + http_msg.write_ptr]
|
||||||
add [ebp + http_msg.write_ptr], eax
|
add [ebp + http_msg.write_ptr], eax
|
||||||
sub [ebp + http_msg.buffer_length], eax
|
sub [ebp + http_msg.buffer_length], eax
|
||||||
jz .got_all_data
|
; jz .got_all_data
|
||||||
|
|
||||||
; If data is chunked, combine chunks into contiguous data.
|
; If data is chunked, combine chunks into contiguous data.
|
||||||
test [ebp + http_msg.flags], FLAG_CHUNKED
|
test [ebp + http_msg.flags], FLAG_CHUNKED
|
||||||
|
Loading…
Reference in New Issue
Block a user