Skip to content

Httpclient nonblocking operations (OnIdle)

Ondrej Pokorny requested to merge fpc-ondrej/source:httpclient_nonblocking2 into main

During connect/read/write socket operations the client is not responsive. This is especially painful for IOTimeOut=0 and a long server-side request.

This merge request fixes it with the new property IdleTimeout and OnIdle event.

Set IdleTimeout=0 to have blocking behavior like before.

Merge request reports