Bright Chen

Results 217 comments of Bright Chen

多次通过调用SetHeader("Set-Cookie", "xxx")来设置cookie吗?

[RFC-7230 Field Order](https://tools.ietf.org/html/rfc7230#section-3.2.2) In practice, the "Set-Cookie" header field ([RFC6265]) often appears multiple times in a response message and does not use the list syntax, violating the above requirements on...

> @chenBright > > `;`是[Attributes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes)分隔符,因此如果bRPC中需要特殊处理应使用其他符号 > > > 另外,多个Cookie之间不能使用,分隔,应该要用;分隔。 嗯嗯,我指的是cookie这个header。 set-cookie这个header的话,HttpHeader不将其合并,每个set-cookie独立一项。

@pirDOL 试试 #2577 能不能解决问题

有验证过性能收益吗?

Is it possible to use bazel tests with [github workflows](https://github.com/apache/brpc/blob/master/.github/workflows/ci-linux.yml)?

提供一个option来支持该特性,是不是合适些?这样就不会影响已有的逻辑了。

master分支已经修复了ci的问题,可以更新一下PR。

OnClosedConnection关注的是Socket Failed的时机还是close(fd)的时机?