Commit 99b1539
feat: add support for SOCKS5 proxy (#1063)
* Added socks5_proxy to options
* correct options freeing
* Update CHANGELOG.md
* Add socks5_proxy attribute to curl_transport_state
* formatting
* refactor to use single proxy attribute
* format
* Added back deprecated http_proxy API
* formatting
* refactor sentry_transport_winhttp.c to use opts->proxy
* formatting
* update crashpad dependency
* fix: update minimum libcurl version check to 7.21.7
* update crashpad dependency
* test: add proxy integration tests
* get latest crashpad changes
* feat: add example.c run-args for http and socks5 proxy
* test: changed test name + added more mitmdump startup time
* chore: format
* test: add mitmproxy to requirements.txt
* test: add skip for proxy test on non-MacOS platforms
* test: move socksproxy-off assert into AssertionError check for Linux test
* test: change expected http log length to match platform
* test: order of operations
* test: run http proxy tests on all platforms
* test: add special case for Windows Autoproxy
* apply suggestions from code review
* chore: added comments about proxy behaviour
* cleaned up test and moved comments to proper place
(let's hope I didn't mess up CI)
* chore: fix minor comment typo
* chore: added api documentation
* Update include/sentry.h
Co-authored-by: Mischan Toosarani-Hausberger <[email protected]>
* Update CONTRIBUTING.md
Co-authored-by: Mischan Toosarani-Hausberger <[email protected]>
* update crashpad submodule
* update crashpad submodule (again)
* updated CHANGELOG.md
* updated CHANGELOG.md again
---------
Co-authored-by: Mischan Toosarani-Hausberger <[email protected]>1 parent d431ab9 commit 99b1539
File tree
15 files changed
+230
-25
lines changed- examples
- external
- include
- src
- backends
- transports
- tests
- unit
15 files changed
+230
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
239 | 247 | | |
240 | 248 | | |
241 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
972 | 972 | | |
973 | 973 | | |
974 | 974 | | |
975 | | - | |
| 975 | + | |
976 | 976 | | |
977 | | - | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
978 | 1004 | | |
979 | 1005 | | |
980 | 1006 | | |
981 | 1007 | | |
982 | 1008 | | |
983 | 1009 | | |
984 | 1010 | | |
985 | | - | |
| 1011 | + | |
986 | 1012 | | |
987 | 1013 | | |
988 | 1014 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
| 443 | + | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
238 | 259 | | |
239 | 260 | | |
240 | 261 | | |
241 | 262 | | |
242 | | - | |
243 | | - | |
| 263 | + | |
244 | 264 | | |
245 | 265 | | |
246 | 266 | | |
247 | 267 | | |
248 | 268 | | |
249 | | - | |
250 | | - | |
| 269 | + | |
251 | 270 | | |
252 | 271 | | |
253 | 272 | | |
254 | 273 | | |
255 | 274 | | |
256 | | - | |
| 275 | + | |
257 | 276 | | |
258 | 277 | | |
259 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
| 218 | + | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
| 72 | + | |
| 73 | + | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
0 commit comments