commit | 865d617772306ae9c90ac55901f81c70a5855945 | [log] [tgz] |
---|---|---|
author | Michael Scott <michael@opensourcefoundries.com> | Fri Nov 10 13:20:56 2017 -0800 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Tue Nov 14 09:52:59 2017 +0200 |
tree | cb3dcf6124cff30e2e73b4107c9358e85f5f56d6 | |
parent | 92cf80e9b2bfb60172f1184ac791e69ed61a630e [diff] |
net: http: honor CONFIG_HTTP_CLIENT_NETWORK_TIMEOUT setting We should not use the user suppied timeout setting in http_client_send_req() for the connection timeout. In the previous API the call to tcp_connect() used CONFIG_HTTP_CLIENT_NETWORK_TIMEOUT as the timeout setting. Let's do that here too. This fixes -ETIMEDOUT error generation when using K_NO_WAIT for http_client_send_req(). Signed-off-by: Michael Scott <michael@opensourcefoundries.com>