-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit 88fc34a
ext/curl: update CURLOPT_PREREQFUNCTION test to validate CURLE_ABORTED_BY_CALLBACK return value
Updates the `CURLOPT_PREREQFUNCTION` test to validate that
connections failed when the PREREQFUNC returns abort returns
CURLE_ABORTED_BY_CALLBACK as the error number.
Previously, it only checked against a hardcoded value. Now, it
checks against the `CURLE_ABORTED_BY_CALLBACK` constant as well.1 parent 252c0c9 commit 88fc34a
1 file changed
+2
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | + | ||
51 | 52 |
| |
52 | 53 |
| |
53 | 54 |
| |
| |||
133 | 134 |
| |
134 | 135 |
| |
135 | 136 |
| |
137 | + | ||
136 | 138 |
| |
137 | 139 |
| |
138 | 140 |
| |
|
0 commit comments