curl / Mailing Lists / curl-library / Single Mail

curl-library

Blocking select

From: Christian Schmitz <filemakerlists_at_monkeybreadsoftware.de>
Date: Fri, 20 Jul 2018 14:37:14 +0200

Hello,

In select.c

  ptimeout = (timeout_ms < 0) ? NULL : &pending_tv;

I just have a problem with app which blocks.
So I wonder if it is a good idea to have select block forever!?

Would it not be better if it defaults to 0.1 second timeout?
Than events like progress would fire properly and you have the chance to cancel?

Sincerely
Christian

-- 
Read our blog about news on our plugins:
http://www.mbsplugins.de/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-07-20