Commit 9a36fe1
Share DNS and Connect between curl requests (#117)
* Share DNS and Connect between curl requests
reduces overhead when doing multiple curl requests per php-request.
other places which manually invoke `curl_init` can benefit in a similar way by adding such code.
`curl_multi_*` will automatically share caches between requests, without the need for additional code.
* fix
* cs
* fix type
---------
Co-authored-by: Markus Staab <[email protected]>1 parent 531bb2a commit 9a36fe1
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
158 | 163 | | |
159 | 164 | | |
160 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
161 | 180 | | |
162 | 181 | | |
163 | 182 | | |
| |||
0 commit comments