Tags: Wenrh2004/volo
Tags
feat: don't log broken pipe error on server by default (cloudwego#548) * feat: don't log broken pipe error on server by default * fix ci fail on volo-http ws * fix self test script on macOS
feat: don't log broken pipe error on server by default (cloudwego#548) * feat: don't log broken pipe error on server by default * fix ci fail on volo-http ws * fix self test script on macOS
fix(volo-thrift): clean waiters while failed waiting for idle connect… …ion (cloudwego#547)
fix(volo-http): add mime parsing in server, do not always prefer ipv4… … in client dns (cloudwego#538) * chore(volo-http): mark some dependencies as optional * fix(volo-http): check content type through parsing content type In the previous implementation, the `Form` extractor directly compared `Content-Type` and rejected the form if `Content-Type` was not `application/x-www-form-urlencoded`. But sometimes `Content-Type` could be `application/x-www-form-urlencoded; charset=utf-8`, which is actually a valid mime for the form, but we incorrectly rejected it. This commit makes the current implementation check `Content-Type` by parsing instead of directly comparing the string. * fix(volo-http): prefer ipv6 addr in dns resolver when dns addr is ipv6 We use the `hickory_resolver` crate to resolve domain names, but we found that it always prefers IPv4 addresses, which doesn't work if the client is running in an IPv6 only environment. This commit fixes this by checking the first name server, if the address is an IPv4 address we keep preferring IPv4 addresses, if it is an IPv6 address we set the resolver to prefer IPv6 addresses. * chore(volo-http): bump Volo-HTTP to 0.3.0 Signed-off-by: Yu Li <[email protected]> --------- Signed-off-by: Yu Li <[email protected]>
fix(volo-http): fix wrong rule of setting header `Host` (cloudwego#532) In addition, some unit tests have been added here to improve test coverage. Signed-off-by: Yu Li <[email protected]>
chore(volo-http): fix previously missed changes to `Body` (cloudwego#531 ) Signed-off-by: Yu Li <[email protected]>
fix(cloudwego#515): codegen and default problem (cloudwego#525)
fix(cloudwego#515): codegen and default problem (cloudwego#525)
chore(volo-http): implement `source` for `Error`s (cloudwego#519) Signed-off-by: Yu Li <[email protected]>
fix: faststr compile needs to enable serde feature && update dep to l… …atest (cloudwego#493)
PreviousNext