httpc:request pipelining example and blocking problem

Yao Bao free7by@REDACTED
Sun Dec 19 10:51:01 CET 2021

> * One part of the issue was the server was sending a HTTP chunked response and I
> needed to switch to using `stream`.
> * The other issue is I'm using a `gen_server` to drive part of the client aspect
> and I needed to restructure how I setup the receive loop.  Now I get the 1st
> chunk (more often), but still appears to block on occasion on the chunk.

What if turn the “switch to using stream” off, can you consistently get the chunk?


More information about the erlang-questions mailing list