Guenter | 1 Aug 2010 04:40

Re: Watcom makefiles

Am 28.07.2010 22:15, schrieb Guenter:
> Am 28.07.2010 21:22, schrieb Daniel Stenberg:
>> On Wed, 28 Jul 2010, Guenter wrote:
>>
>>> seems to me that puts() from Watcom is somehow broken with both OW 1.8
>>> and 1.9; I patched src/main.c to use printf() and this makes the
>>> version output apear as usual:
>>
>> ...
>>
>>> does anything speak against changing this in our code?
>>
>> Not that I can think of, but I think a little comment in there might be
>> a good idea to explain why puts() is not used...
> I cant the heck figure out what goes on here ....
> thought I write a little sample to demonstrate the prob, and post that
> to the OWC folks, but nope! The sample works fine ....
> then I even extended the sample a bit more, compiled with exact same
> compiler switches as what is used for curl.exe (I even used same
> makefile stripped down to one object file = sample) but in all cases the
> output with puts() was correct .....
> ATM clueless .....
partly nailed down now: I finally could fix the makefiles so that I can 
now also link curl.exe statically, and guess what? There the output is 
correct!!!

curl -V
curl 7.21.1-DEV (i386-pc-win32) libcurl/7.21.1-DEV zlib/1.2.5
Protocols: dict file ftp http imap ldap pop3 rtsp smtp telnet tftp
Features: AsynchDNS IPv6 Largefile SPNEGO libz
(Continue reading)

Guenter | 1 Aug 2010 07:38

autobuilds uload form vanished

Hi Daniel,
seems that the upload.cgi vanished from your server - was this intended?

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Murat Sezgin | 1 Aug 2010 07:55
Picon

request for some simple HTTP response parser applications

Hi all,


I am very new-bee on libcurl library. I have just download and installed it on my linux box. I want to use it to parse the HTTP response packets in real-time. My main goal is to obtain the Content-Type of the packets. First, I want to do very simple applications to understand the APIs and the library. If you have some simple applications can you please point me to these applications or send me some of them?

Regards,
Murat
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Daniel Stenberg | 1 Aug 2010 20:55
Picon
Favicon
Gravatar

Re: autobuilds uload form vanished

On Sun, 1 Aug 2010, Guenter wrote:

> seems that the upload.cgi vanished from your server - was this intended?

It was not intended, and it seems it vanished quite some time ago. I have no 
idea how that happened! ;-(

I'll work on fixing a replacement, I don't have any backups old enough I 
believe...

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Daniel Stenberg | 1 Aug 2010 20:56
Picon
Favicon
Gravatar

Re: request for some simple HTTP response parser applications

On Sat, 31 Jul 2010, Murat Sezgin wrote:

> If you have some simple applications can you please point me to these 
> applications or send me some of them?

http://curl.haxx.se/libcurl/c/example.html

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Daniel Stenberg | 1 Aug 2010 23:58
Picon
Favicon
Gravatar

Re: FTP over SSL and curl_multi

On Sat, 31 Jul 2010, Daniel Stenberg wrote:

>> Could that possibly have to do something with the change "superfluous 
>> blocking for OpenSSL-based SSL connects and multi interface" in 7.20.1?
>
> Perhaps, I just don't know at this point. That mentioned commit is known as 
> 496002ea1cd76af7f in git in case you want to try to revert only that.

Yes, that commit introduced the problem for FTPS and I've just now committed 
and pushed a fix that seems to make your code work again (while still allowing 
the nonblocking connect commit 496002ea1cd76af7f introduced).

Thanks for your report!

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Guenter | 2 Aug 2010 02:24

Re: autobuilds uload form vanished

Am 01.08.2010 20:55, schrieb Daniel Stenberg:
> On Sun, 1 Aug 2010, Guenter wrote:
>
>> seems that the upload.cgi vanished from your server - was this intended?
>
> It was not intended, and it seems it vanished quite some time ago. I
> have no idea how that happened! ;-(
>
> I'll work on fixing a replacement, I don't have any backups old enough I
> believe...
>
can you please give me a sample how I can alternately mail with curl?
tried:
curl -u user:pass --mail-from john.doe <at> nirwana.org --mail-rcpt 
autobuillds <at> youknow.where -T mailbody.txt smtp://mail.nirwana.org

but what's missing is:
- how to specify a subject

thanks, Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Daniel Stenberg | 2 Aug 2010 09:07
Picon
Favicon
Gravatar

Re: autobuilds uload form vanished

On Mon, 2 Aug 2010, Guenter wrote:

> can you please give me a sample how I can alternately mail with curl?
> tried:

> curl -u user:pass --mail-from john.doe <at> nirwana.org --mail-rcpt 
> autobuillds <at> youknow.where -T mailbody.txt smtp://mail.nirwana.org
>
> but what's missing is:
> - how to specify a subject

Hah, lovely! ;-) I think you should make sure to append "Subject: 
autobuild\n\n" at the top of the "mailbody.txt" file.

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Guenter | 2 Aug 2010 09:15

renaming curl_SOURCES to CURL_ALLFILES

Hi,
seems my rename in src/Makefile.inc broke autoconf magic somehow ...
I searched through the whole source tree but found only those 2 places 
where curl_SOURCES appeared, so thought this would be ok to rename - but 
seems it is not, arg!
I've already everything in git to rename back, then alternately rename 
CURL_SOURCES to CURL_CFILES, and tested this with autoconf / configure 
and it builds, but before I do another useless commit I would like to 
hear if this is then ok? And of course curious why the heck my rename 
broke ...

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Daniel Stenberg | 2 Aug 2010 09:22
Picon
Favicon
Gravatar

Re: renaming curl_SOURCES to CURL_ALLFILES

On Mon, 2 Aug 2010, Guenter wrote:

> seems my rename in src/Makefile.inc broke autoconf magic somehow ...
> I searched through the whole source tree but found only those 2 places where 
> curl_SOURCES appeared, so thought this would be ok to rename - but seems it 
> is not, arg!

> I've already everything in git to rename back, then alternately rename 
> CURL_SOURCES to CURL_CFILES, and tested this with autoconf / configure and 
> it builds, but before I do another useless commit I would like to hear if 
> this is then ok? And of course curious why the heck my rename broke ...

Automake magic is the reason.

The executable in src/ is named 'curl' so the variable in src/Makefile.am that 
lists/defines all its sources must be named "curl_SOURCES" just as the 
variable in lib/Makefile.am needs to be named libcurl_la_SOURCES.

This said, you can name it whatever you like in Makefile.inc, and then do the 
automake-specific name within the .am file, just like the lib/Makefile.am file 
does.

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html


Gmane