Commit 93cc104
authored
network: explicitly close connection for log event (#469)
Context:
One of the company -- affirm reported that they are seeing higher
econnreset error after we started using session and cause higher log
event drop rate.
I did some research this might be because when use request.session()
connection headers is set to be keep-alive
I am testing more
https://statsigconnect.slack.com/archives/C0667QXTWCU/p1761587654203119?thread_ts=1761587241.636689&cid=C0667QXTWCU
Tested and verified request.session() sends extra header on
connection:keep-alive
And my current approach works1 parent f1ef119 commit 93cc104
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
0 commit comments