Daniel Stenberg | 1 Dec 11:14 2003
Picon
Picon

cvs: curl /lib ftp.c

bagder		Mon Dec  1 05:14:39 2003 EDT

  Modified files:              
    /curl/lib	ftp.c 
  Log:
  FTPS now works with active ftp and uploads too.

  
Index: curl/lib/ftp.c
diff -u curl/lib/ftp.c:1.211 curl/lib/ftp.c:1.212
--- curl/lib/ftp.c:1.211	Mon Nov 24 04:04:09 2003
+++ curl/lib/ftp.c	Mon Dec  1 05:14:39 2003
 <at>  <at>  -18,7 +18,7  <at>  <at> 
  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  * KIND, either express or implied.
  *
- * $Id: ftp.c,v 1.211 2003/11/24 09:04:09 bagder Exp $
+ * $Id: ftp.c,v 1.212 2003/12/01 10:14:39 bagder Exp $
  ***************************************************************************/

 #include "setup.h"
 <at>  <at>  -174,6 +174,7  <at>  <at> 
     }
     break;
   }
+
   return CURLE_OK;
 }

 <at>  <at>  -504,47 +505,6  <at>  <at> 
(Continue reading)

Daniel Stenberg | 1 Dec 11:25 2003
Picon
Picon

cvs: curl / CHANGES

bagder		Mon Dec  1 05:25:10 2003 EDT

  Modified files:              
    /curl	CHANGES 
  Log:
  FTPS now works pretty good

  
Index: curl/CHANGES
diff -u curl/CHANGES:1.400 curl/CHANGES:1.401
--- curl/CHANGES:1.400	Thu Nov 27 07:24:22 2003
+++ curl/CHANGES	Mon Dec  1 05:25:10 2003
 <at>  <at>  -7,13 +7,22  <at>  <at> 
                                   Changelog

 
+Daniel (1 December)
+- Mathias Axelsson set up a bsdftpd-ssl server for me and I could make curl
+  run fine against its FTPS implementation. Now these FTPS-related things
+  work:
+   o explicit and implicit FTPS
+   o active (PORT) and passive (PASV)
+   o upload and download
+   o verified against bsdftpd-ssl and RaidenFTPD
+
 Daniel (27 November)
 - James Clancy made the Borland Makefiles up to date.

 - Markus Moeller improved the SPNEGO detection in the configure script.

(Continue reading)

Daniel Stenberg | 1 Dec 11:25 2003
Picon
Picon

cvs: curl / RELEASE-NOTES

bagder		Mon Dec  1 05:25:45 2003 EDT

  Modified files:              
    /curl	RELEASE-NOTES 
  Log:
  updated

  
Index: curl/RELEASE-NOTES
diff -u curl/RELEASE-NOTES:1.34 curl/RELEASE-NOTES:1.35
--- curl/RELEASE-NOTES:1.34	Mon Nov 24 10:46:01 2003
+++ curl/RELEASE-NOTES	Mon Dec  1 05:25:45 2003
 <at>  <at>  -5,7 +5,8  <at>  <at> 

 This release includes the following changes:

- o CURLOPT_FTPSSL and ftps:// now do ssl over FTP "The Right Way"
+ o CURLOPT_FTPSSL and ftps:// now do ssl over FTP "The Right Way" (the curl
+   tool now features the --ftp-ssl option)
  o The Windows DLLs are built with an added "resource file"
  o New LIBCURL_VERSION_* defines for easier checking version number
  o Included Mac OS X 'framework' makefile in the release archive
 <at>  <at>  -14,6 +15,7  <at>  <at> 

 This release includes the following bugfixes:

+ o POST over proxy to https server failed
  o improved how libcurl deals with persistant connections over FTP when a
    transfer fails
  o accessing a proxy that requires Basic auth without password caused a hang
(Continue reading)

Daniel Stenberg | 2 Dec 07:25 2003
Picon
Picon

cvs: curl /lib url.c

bagder		Tue Dec  2 01:25:41 2003 EDT

  Modified files:              
    /curl/lib	url.c 
  Log:
  Gisle Vanem fixed the check-order for FTPS and FTP.

  
Index: curl/lib/url.c
diff -u curl/lib/url.c:1.317 curl/lib/url.c:1.318
--- curl/lib/url.c:1.317	Mon Nov 24 02:15:37 2003
+++ curl/lib/url.c	Tue Dec  2 01:25:41 2003
 <at>  <at>  -18,7 +18,7  <at>  <at> 
  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  * KIND, either express or implied.
  *
- * $Id: url.c,v 1.317 2003/11/24 07:15:37 bagder Exp $
+ * $Id: url.c,v 1.318 2003/12/02 06:25:41 bagder Exp $
  ***************************************************************************/

 /* -- WIN32 approved -- */
 <at>  <at>  -2094,10 +2094,7  <at>  <at> 
       /* Note: if you add a new protocol, please update the list in
        * lib/version.c too! */

-      if(checkprefix("FTP", conn->gname)) {
-        strcpy(conn->protostr, "ftp");
-      }
-      else if(checkprefix("GOPHER", conn->gname))
+      if(checkprefix("GOPHER", conn->gname))
(Continue reading)

Daniel Stenberg | 2 Dec 11:11 2003
Picon
Picon

cvs: curl / configure.ac

bagder		Tue Dec  2 05:11:48 2003 EDT

  Modified files:              
    /curl	configure.ac 
  Log:
  check for MSG_NOSIGNAL

  
Index: curl/configure.ac
diff -u curl/configure.ac:1.27 curl/configure.ac:1.28
--- curl/configure.ac:1.27	Thu Nov 27 04:52:13 2003
+++ curl/configure.ac	Tue Dec  2 05:11:48 2003
 <at>  <at>  -1,4 +1,4  <at>  <at> 
-dnl $Id: configure.ac,v 1.27 2003/11/27 09:52:13 bagder Exp $
+dnl $Id: configure.ac,v 1.28 2003/12/02 10:11:48 bagder Exp $
 dnl Process this file with autoconf to produce a configure script.

 AC_PREREQ(2.57)
 <at>  <at>  -332,6 +332,18  <at>  <at> 
 ])

 dnl **********************************************************************
+dnl Check for MSG_NOSIGNAL
+dnl **********************************************************************
+AC_MSG_CHECKING(for MSG_NOSIGNAL)
+AC_TRY_COMPILE([#include <sys/socket.h>],
+ [ int f = MSG_NOSIGNAL; ],
+ [ AC_MSG_RESULT(yes)
+   AC_DEFINE(HAVE_MSG_NOSIGNAL, 1,
+             [Define this symbol if you have MSG_NOSIGNAL]) ],
(Continue reading)

Daniel Stenberg | 2 Dec 11:12 2003
Picon
Picon

cvs: curl /lib setup.h transfer.c

bagder		Tue Dec  2 05:12:44 2003 EDT

  Modified files:              
    /curl/lib	setup.h transfer.c 
  Log:
  If HAVE_MSG_NOSIGNAL is set, we use MSG_NOSIGNAL when we call send() and
  recv() and we no longer attempt to ignore the SIGPIPE signal.

  
Index: curl/lib/setup.h
diff -u curl/lib/setup.h:1.35 curl/lib/setup.h:1.36
--- curl/lib/setup.h:1.35	Thu Nov  6 02:21:32 2003
+++ curl/lib/setup.h	Tue Dec  2 05:12:44 2003
 <at>  <at>  -20,7 +20,7  <at>  <at> 
  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  * KIND, either express or implied.
  *
- * $Id: setup.h,v 1.35 2003/11/06 07:21:32 bagder Exp $
+ * $Id: setup.h,v 1.36 2003/12/02 10:12:44 bagder Exp $
  ***************************************************************************/

 #ifdef HTTP_ONLY
 <at>  <at>  -116,6 +116,15  <at>  <at> 
 #endif
 #endif

+#ifdef HAVE_MSG_NOSIGNAL
+/* If we have the MSG_NOSIGNAL define, we make sure to use that in the forth
+   argument to send() and recv() */
+#define SEND_4TH_ARG MSG_NOSIGNAL
(Continue reading)

Daniel Stenberg | 2 Dec 11:13 2003
Picon
Picon

cvs: curl / CHANGES

bagder		Tue Dec  2 05:13:55 2003 EDT

  Modified files:              
    /curl	CHANGES 
  Log:
  MSG_NOSIGNAL

  
Index: curl/CHANGES
diff -u curl/CHANGES:1.401 curl/CHANGES:1.402
--- curl/CHANGES:1.401	Mon Dec  1 05:25:10 2003
+++ curl/CHANGES	Tue Dec  2 05:13:55 2003
 <at>  <at>  -7,6 +7,12  <at>  <at> 
                                   Changelog

 
+Daniel (2 December)
+- Giuseppe Attardi pointed out that we should use MSG_NOSIGNAL when we use
+  send() and recv(). I added checks for the define in the configure script and
+  adjusted the code accordingly. If the symbol is present, we won't attempt
+  to ignore the SIGPIPE signal.
+
 Daniel (1 December)
 - Mathias Axelsson set up a bsdftpd-ssl server for me and I could make curl
   run fine against its FTPS implementation. Now these FTPS-related things

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
(Continue reading)

Daniel Stenberg | 2 Dec 14:21 2003
Picon
Picon

cvs: curl /lib ftp.c

bagder		Tue Dec  2 08:21:53 2003 EDT

  Modified files:              
    /curl/lib	ftp.c 
  Log:
  fixes from Gisle Vanem to try 'AUTH SSL' before 'AUTH TLS', edited by me

  
Index: curl/lib/ftp.c
diff -u curl/lib/ftp.c:1.212 curl/lib/ftp.c:1.213
--- curl/lib/ftp.c:1.212	Mon Dec  1 05:14:39 2003
+++ curl/lib/ftp.c	Tue Dec  2 08:21:53 2003
 <at>  <at>  -18,7 +18,7  <at>  <at> 
  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  * KIND, either express or implied.
  *
- * $Id: ftp.c,v 1.212 2003/12/01 10:14:39 bagder Exp $
+ * $Id: ftp.c,v 1.213 2003/12/02 13:21:53 bagder Exp $
  ***************************************************************************/

 #include "setup.h"
 <at>  <at>  -405,6 +405,10  <at>  <at> 
   return result;
 }

+static char *ftpauth[]= {
+  "SSL", "TLS", NULL
+};
+
 /*
(Continue reading)

Daniel Stenberg | 2 Dec 14:27 2003
Picon
Picon

cvs: curl / configure.ac

bagder		Tue Dec  2 08:27:05 2003 EDT

  Modified files:              
    /curl	configure.ac 
  Log:
  renamed the KRB4 to HAVE_KRB4

  
Index: curl/configure.ac
diff -u curl/configure.ac:1.28 curl/configure.ac:1.29
--- curl/configure.ac:1.28	Tue Dec  2 05:11:48 2003
+++ curl/configure.ac	Tue Dec  2 08:27:05 2003
 <at>  <at>  -1,4 +1,4  <at>  <at> 
-dnl $Id: configure.ac,v 1.28 2003/12/02 10:11:48 bagder Exp $
+dnl $Id: configure.ac,v 1.29 2003/12/02 13:27:05 bagder Exp $
 dnl Process this file with autoconf to produce a configure script.

 AC_PREREQ(2.57)
 <at>  <at>  -478,7 +478,7  <at>  <at> 
       AC_CHECK_FUNCS(krb_get_our_ip_for_realm)

       dnl add define KRB4
-      AC_DEFINE(KRB4, 1,
+      AC_DEFINE(HAVE_KRB4, 1,
       [if you have the Kerberos4 libraries (including -ldes)])

       dnl substitute it too!

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
(Continue reading)

Daniel Stenberg | 2 Dec 14:27 2003
Picon
Picon

cvs: curl /lib config-riscos.h config-vms.h ftp.c krb4.c security.c sendf.c url.c urldata.h version.c

bagder		Tue Dec  2 08:27:30 2003 EDT

  Modified files:              
    /curl/lib	config-riscos.h config-vms.h ftp.c krb4.c security.c 
             	sendf.c url.c urldata.h version.c 
  Log:
  use the HAVE_KRB4 define instead of just KRB4

  
Index: curl/lib/config-riscos.h
diff -u curl/lib/config-riscos.h:1.2 curl/lib/config-riscos.h:1.3
--- curl/lib/config-riscos.h:1.2	Mon Apr  8 17:59:06 2002
+++ curl/lib/config-riscos.h	Tue Dec  2 08:27:29 2003
 <at>  <at>  -36,7 +36,7  <at>  <at> 
 #undef NEED_REENTRANT

 /* Define if you have the Kerberos4 libraries (including -ldes) */
-#undef KRB4
+#undef HAVE_KRB4

 /* Define if you want to enable IPv6 support */
 #undef ENABLE_IPV6
Index: curl/lib/config-vms.h
diff -u curl/lib/config-vms.h:1.5 curl/lib/config-vms.h:1.6
--- curl/lib/config-vms.h:1.5	Fri Mar 14 12:21:06 2003
+++ curl/lib/config-vms.h	Tue Dec  2 08:27:29 2003
 <at>  <at>  -50,7 +50,7  <at>  <at> 
 #undef NEED_REENTRANT

 /* Define if you have the Kerberos4 libraries (including -ldes) */
(Continue reading)


Gmane