8000 Tags · johan-bjareholt/ureq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: johan-bjareholt/ureq

Tags

super-main/9

Toggle super-main/9's commit message
stream: Change unwrap to ConnectionFailed error

When writing to socket, the resulting write may fail and return errno
101 "Network Unavailable" and crashing the library (or the dependant of
 the library). Therefore, if we receive an error, it will be converted
to a ConncetionFailed error so that it's handled properly

super-main/8

Toggle super-main/8's commit message
unit: Add support for setting Send-Buffer-Size on TCP Socket

Change-Id: I46c284987333be861217d05daddf6d7752325031

super-main/7

Toggle super-main/7's commit message
Fallback sending body when server don't understand "Expect:100-continue"

If a server does not understand the "Expect: 100-continue" header, it
will wait for the body indefinitely. To solve this issue, we add a
shorter timeout on reading the response status+headers and if that
timeout is hit we send the body anyway.

super-main/6

Toggle super-main/6's commit message
stream: Divide write timeout by 2

When setting the socket's write timeout, it will instead timeout after
double the time set. In order to get the correct behavior, the timeout
is divided by 2.
We have no idea why it behaves this way, but there is a discussion on
stack overflow mentioning it:
https://stackoverflow.com/questions/26298040/socket-so-rcvtimeo-timeout-is-double-the-set-value-in-c-vc?noredirect=1&lq=1

Note that this is a local patch and should not be merged upstream.

super-main/5

Toggle super-main/5's commit message
stream: Divide write timeout by 2

When setting the socket's write timeout, it will instead timeout after
double the time set. In order to get the correct behavior, the timeout
is divided by 2.
We have no idea why it behaves this way, but there is a discussion on
stack overflow mentioning it:
https://stackoverflow.com/questions/26298040/socket-so-rcvtimeo-timeout-is-double-the-set-value-in-c-vc?noredirect=1&lq=1

Note that this is a local patch and should not be merged upstream.

super-main/4

Toggle super-main/4's commit message
stream: Divide write timeout by 2

When setting the socket's write timeout, it will instead timeout after
double the time set. In order to get the correct behavior, the timeout
is divided by 2.
We have no idea why it behaves this way, but there is a discussion on
stack overflow mentioning it:
https://stackoverflow.com/questions/26298040/socket-so-rcvtimeo-timeout-is-double-the-set-value-in-c-vc?noredirect=1&lq=1

Note that this is a local patch and should not be merged upstream.

super-main/3

Toggle super-main/3's commit message
stream: Divide write timeout by 2

When setting the socket's write timeout, it will instead timeout after
double the time set. In order to get the correct behavior, the timeout
is divided by 2.
We have no idea why it behaves this way, but there is a discussion on
stack overflow mentioning it:
https://stackoverflow.com/questions/26298040/socket-so-rcvtimeo-timeout-is-double-the-set-value-in-c-vc?noredirect=1&lq=1

Note that this is a local patch and should not be merged upstream.

super-main/2

Toggle super-main/2's commit message
response: Remove error wrapper in read_next_line

The wrapper ended up creating a bug where the resulting Error from
read_next_line() would be a ureq::Error -> std::io::Error ->
-> ureq::Error -> std::io::Error, where "->" refers to the source.
This ended up printing "Network Error: Network Error: {some reason}",
but it was also a weird behavior. Thus, we removed the wrapper between
the std::io::Error's and bundled them together into a single
std::io::Error. This will make read_next_line() return an Error which
looks like this: ureq::Error -> std::io::Error.

super-main/1

Toggle super-main/1's commit message
response: Remove error wrapper in read_next_line

The wrapper ended up creating a bug where the resulting Error from
read_next_line() would be a ureq::Error -> std::io::Error ->
-> ureq::Error -> std::io::Error, where "->" refers to the source.
This ended up printing "Network Error: Network Error: {some reason}",
but it was also a weird behavior. Thus, we removed the wrapper between
the std::io::Error's and bundled them together into a single
std::io::Error. This will make read_next_line() return an Error which
looks like this: ureq::Error -> std::io::Error.

expect-100-continue/5

Toggle expect-100-continue/5's commit message
Add support for "Expect: 100-continue" header

0