| Anonymous | Login | Signup for a new account | 10-31-2025 16:56 PDT | 
| Main | My View | View Issues | Change Log | Docs | 
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0003105 | [Quercus] | minor | always | 11-29-08 22:05 | 12-10-08 09:14 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 4.0.0 | Product Version | 3.2.1 | ||||
| Product Build | |||||||||
| Summary | 0003105: curl_setopt_array doesn't work for multiple options | ||||||||
| Description | Trivial fix for a bug in curl_setopt_array; it returns after the first option is set on the underlying resource: --- a/modules/quercus/src/com/caucho/quercus/lib/curl/CurlModule.java +++ b/modules/quercus/src/com/caucho/quercus/lib/curl/CurlModule.java @@ -642,7 +642,7 @@ public class CurlModule return BooleanValue.FALSE; for (Map.Entry<Value,Value> entry: options.entrySet()) { - if (setOption(env, curl, entry.getKey().toInt(), entry.getValue())) + if (!setOption(env, curl, entry.getKey().toInt(), entry.getValue())) return BooleanValue.FALSE; } | ||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|  | |||||||||
| Mantis 1.0.0rc3[^]
	Copyright © 2000 - 2005 Mantis Group
	29 total queries executed. 26 unique queries executed. |