Commit 75aa605
http: eliminate capture of ClientRequest in Agent
Keepalive sockets that are returned to the agent's freesocket pool were
previously capturing a reference to the ClientRequest that initiated the
request.
This commit eliminates that by moving the installation of the socket
listeners to a different function.
PR-URL: #10134
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 736b95a commit 75aa605Copy full SHA for 75aa605
File tree
Expand file treeCollapse file tree
1 file changed
+30
-26
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+30
-26
lines changedOpen diff view settings
Collapse file
+30-26Lines changed: 30 additions & 26 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
206 | 206 | |
207 | 207 | |
208 | 208 | |
209 | | - |
210 | | - |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | | - |
216 | | - |
217 | | - |
218 | | - |
219 | | - |
220 | | - |
221 | | - |
222 | | - |
223 | | - |
224 | | - |
225 | | - |
226 | | - |
227 | | - |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
| 209 | + |
235 | 210 | |
236 | 211 | |
237 | 212 | |
238 | 213 | |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
| 241 | + |
| 242 | + |
239 | 243 | |
240 | 244 | |
241 | 245 | |
|
0 commit comments