Re: limits of independent curl connections

2013-02-25 Thread Gisle Vanem
"Tom K." wrote: https://github.com/tomisarobot/curl_race This example creates a CURL handle and then sends data in a loop. I start 200 of these applications up and eventually the system will become unresponsive to the point of having to press the power button. When running curl_race.exe in

Re: libcurl: SFTP return quote command failure (21)

2013-02-25 Thread chu ngoc hung
Hi Nick, I looked at in the man page and saw that: The valid SFTP commands are: chgrp, chmod, chown, ln, mkdir, pwd, rename, rm, rmdir, symlink. But I don't know the exact command to list file in a directory. Can you help me to point it? Thanks! On Tue, Feb 26, 2013 at 2:05 PM, Nick Zitzmann wr

Re: libcurl: SFTP return quote command failure (21)

2013-02-25 Thread Nick Zitzmann
On Feb 25, 2013, at 9:35 PM, chu ngoc hung wrote: > I use CURLOPT_QUOTE command to list content of a directory. Here is my code: > > // set url > //... > > headerlist = curl_slist_append(headerlist, buf_0); > const char *buf_1 = "CWD /hungcn"; That is not a valid SFTP quote co

libcurl: SFTP return quote command failure (21)

2013-02-25 Thread chu ngoc hung
Hi, I use CURLOPT_QUOTE command to list content of a directory. Here is my code: // set url //... headerlist = curl_slist_append(headerlist, buf_0); const char *buf_1 = "CWD /hungcn"; headerlist = curl_slist_append(headerlist, buf_1); curl_easy_setopt(_curl, CURLOPT_QUOTE

Re: limits of independent curl connections

2013-02-25 Thread Tom K.
I've an update, hopefully this can get us closer to a resolution. >> When everything "locks up" as you say, does the machine really stop working >> or is there network traffic still going on? Traffic does cease, it is unresponsive to RDP/remote debugging. I can't even force the OS to bluescreen

Re: Logging in from a POST method form

2013-02-25 Thread Dan Fandrich
On Mon, Feb 25, 2013 at 01:45:28PM -0500, Donnell Connally wrote: > I'm having a bit of trouble > with the curl post option as I'm trying to test login into my account > on adf.ly. Simply setting CURLOPT_URL to "http://adf.ly/login"; and > the rest of my options works fine and returns the code of t

Re: possible problem with curl-config

2013-02-25 Thread Yang Tse
On Mon, Feb 25, Dennis Clarke wrote: > $ curl-config --configure > '--enable-shared' '--enable-static' '--with-libidn=/usr/local' > '--enable-tls-srp' '--with-ssl' 'CC=/opt/solarisstudio12.3/bin/cc' > 'CFLAGS=-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 > -xmemalign=8s

Re: possible problem with curl-config

2013-02-25 Thread Dan Fandrich
On Mon, Feb 25, 2013 at 11:23:56AM -0500, Dennis Clarke wrote: > sure enough I check curl-config: > > > $ which curl-config > /usr/local/bin/curl-config > > $ curl-config --cflags > -I/usr/local/include > > $ curl-config --configure > '--enable-shared' '--enable-static' '--with-libidn

Logging in from a POST method form

2013-02-25 Thread Donnell Connally
Hello all. I stumbled over libcURL as I was attempting to find me a suitable replacement in C++ for Mechanize in Python as I much more enjoy programming in the C languages than in Python (simply because C++ was my first programming language.) I'm having a bit of trouble with the curl post optio

possible problem with curl-config

2013-02-25 Thread Dennis Clarke
I ran into problems trying to build php with the latest curl/libcurl release. http://marc.info/?l=php-internals&m=136180879825970&w=2 The whole thread is here : http://marc.info/?t=13617756502&r=1&w=2 sure enough I check curl-config: $ which curl-config /usr/local/bin/curl-conf