-
Using the client example here: https://github.com/trillium-rs/trillium/blob/main/client/examples/client.rs#L8 If i call
this logs looks weird to me, it opens a connection, then say it already exists?
Why is this failing, isn't the last request supposed to return the connection to the pool? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
While writing the test case i realized my error, I was awaiting the Conn, then adding body to it and awaiting again... |
Beta Was this translation helpful? Give feedback.
While writing the test case i realized my error, I was awaiting the Conn, then adding body to it and awaiting again...
This was a Put/Patch request supposed to have body, so the web server got empty Put/Patch then the used Conn was attempted appended with the body.