drogonframework / drogonframework/drogon

Cannot get chunked transfer encoding to work

Open
#1,624 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

I am trying to use chunked transfer encoding. I took the example from https://github.com/drogonframework/drogon/pull/1156#issuecomment-1077758333 and built the 32 bit windows version.

When I use Chrome to do a download using chunked transfer encoding, Chrome does not return anything and the sample logs error to console "20230530 15:51:40.656000 UTC 37032 FATAL Unknown error (errno=10053) send stream in loop: return on unexpected error(10053) - TcpConnectionImpl.cc:1713"

When I point curl at it, I get the following error
C:\Temp>curl -o out http://10.0.84.50:8081/stream/ap.mp4/chunked
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 215k 0 215k 0 0 9656k 0 --:--:-- --:--:-- --:--:-- 9817k
curl: (56) Malformed encoding found in chunked-encoding

Is there a working sample that I can use?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.