Commit 168fbc3
committed
ext/curl: handle CURLOPT_POSTREDIR as normal long
Don't treat CURLOPT_POSTREDIR specially. Just pass its value to curl
directly. There is no need to do `& CURL_REDIR_POST_ALL`. Curl already
does this internally. The only functional change is that negative
numbers will now raise an error, which seems reasonable.1 parent 52767e6 commit 168fbc3
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1843 | 1843 | | |
1844 | 1844 | | |
1845 | 1845 | | |
| 1846 | + | |
1846 | 1847 | | |
1847 | 1848 | | |
1848 | 1849 | | |
| |||
2210 | 2211 | | |
2211 | 2212 | | |
2212 | 2213 | | |
2213 | | - | |
2214 | | - | |
2215 | | - | |
2216 | | - | |
2217 | | - | |
2218 | 2214 | | |
2219 | 2215 | | |
2220 | 2216 | | |
| |||
0 commit comments