Skip to content

[fix] webclient_set_timeout doesn't work#100

Open
ChenRuiwei wants to merge 1 commit intoRT-Thread-packages:masterfrom
ChenRuiwei:fix-timeout
Open

[fix] webclient_set_timeout doesn't work#100
ChenRuiwei wants to merge 1 commit intoRT-Thread-packages:masterfrom
ChenRuiwei:fix-timeout

Conversation

@ChenRuiwei
Copy link

  1. webclient_set_timeout doesn't work in previous code because webclient_connect will set default timeout.
    Fixed by adding addtional struct timeval timeout field in struct webclient_session.
  2. Also fix a timeout second calculation error in webclient_set_timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant