| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curlpp mailing list Archives
[cURLpp] Bug in HTTP Forms
From: Piotr Niemcunowicz <piotr.niemcunowicz_at_gmail.com>
Date: Tue, 05 Feb 2008 22:41:38 +0100
Hello everyone,
First of all: I`m new to this list, so hello again :)
There is a serious bug when using cURLpp::Options::HttpPost(const Forms
Behavior: application crashes
--- Form.cpp 2008-02-05 21:45:23.000000000 +0100
cURLpp::HttpPost::HttpPost(const Forms &posts)
Regarding example19: there should be a code to dispose pointers from
-- Best regards Piotr Niemcunowicz
#include <stdlib.h>
#include <curlpp/cURLpp.hpp>
void perform(const char* url) {
request.setOpt(new cURLpp::Options::Url(url));
std::list<cURLpp::FormPart *> formParts;
request.setOpt(new cURLpp::Options::HttpPost(formParts));
request.perform();
int main(int argc, char *argv[])
try {
return EXIT_SUCCESS;
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info