lwqq icon indicating copy to clipboard operation
lwqq copied to clipboard

ghttp c library timeout

Open Cantonyraja opened this issue 10 years ago • 1 comments

Hi .. I am using libghttp library in linux/c enviornment for my http communications. Due to some server side issues my ghttp_process call keep on hanging for long time. Do we have time out for ghttp services, i tried to use constant http_hdr_Timeout but it is not working as expected. Kindly help me on this issue.

Cantonyraja avatar Aug 11 '15 17:08 Cantonyraja

you can use setsockopt()

more info: http://pubs.opengroup.org/onlinepubs/009695399/functions/setsockopt.html

denisdemais avatar Feb 15 '16 21:02 denisdemais