cvs | 1 Feb 21:34 2008
Picon

danf: curl mkinstalldirs,1.2,1.3

Update of /cvsroot/curl/curl
In directory labb:/tmp/cvs-serv3370

Modified Files:
	mkinstalldirs 
Log Message:
Make mkinstalldirs ignore umask, for consistency with the rest of the
install process.  Note that mkinstalldirs appears to be used only
in some configurations.

Index: mkinstalldirs
===================================================================
RCS file: /cvsroot/curl/curl/mkinstalldirs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mkinstalldirs	10 Jan 2000 23:36:14 -0000	1.2
+++ mkinstalldirs	1 Feb 2008 20:34:27 -0000	1.3
 <at>  <at>  -22,9 +22,9  <at>  <at> 
      esac

      if test ! -d "$pathcomp"; then
-        echo "mkdir $pathcomp" 1>&2
+        echo "mkdir -m0755 $pathcomp" 1>&2

-        mkdir "$pathcomp" || lasterr=$?
+        mkdir -m0755 "$pathcomp" || lasterr=$?

         if test ! -d "$pathcomp"; then
   	  errstatus=$lasterr
(Continue reading)

cvs | 3 Feb 11:10 2008
Picon

bagder: curl/docs/libcurl curl_multi_timeout.3,1.4,1.5

Update of /cvsroot/curl/curl/docs/libcurl
In directory labb:/tmp/cvs-serv6315

Modified Files:
	curl_multi_timeout.3 
Log Message:
it is stable now...

Index: curl_multi_timeout.3
===================================================================
RCS file: /cvsroot/curl/curl/docs/libcurl/curl_multi_timeout.3,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- curl_multi_timeout.3	6 Dec 2007 22:36:52 -0000	1.4
+++ curl_multi_timeout.3	3 Feb 2008 10:10:00 -0000	1.5
 <at>  <at>  -34,7 +34,7  <at>  <at> 
 figure out which sockets to wait for by calling \fBcurl_multi_fdset(3)\fP or
 by a previous call to \fBcurl_multi_socket(3)\fP.
 .SH AVAILABILITY
-This function was added in libcurl 7.15.4, although not deemed stable yet.
+This function was added in libcurl 7.15.4.
 .SH "SEE ALSO"
 .BR curl_multi_cleanup "(3), " curl_multi_init "(3), "
 .BR curl_multi_fdset "(3), " curl_multi_info_read "(3), "
cvs | 3 Feb 13:28 2008
Picon

bagder: curl/docs/examples Makefile.am, 1.47, 1.48 threaded-ssl.c, NONE, 1.1

Update of /cvsroot/curl/curl/docs/examples
In directory labb:/tmp/cvs-serv2265

Modified Files:
	Makefile.am 
Added Files:
	threaded-ssl.c 
Log Message:
threaded-ssl.c is a little example that does multi-threaded downloads from 
HTTPS sites with OpenSSL-enabled libcurl (and pthreads) and thus do the
thread-locking and things openssl-style.

--- NEW FILE: threaded-ssl.c ---
/*****************************************************************************
 *                                  _   _ ____  _
 *  Project                     ___| | | |  _ \| |
 *                             / __| | | | |_) | |
 *                            | (__| |_| |  _ <| |___
 *                             \___|\___/|_| \_\_____|
 *
 * $Id: threaded-ssl.c,v 1.1 2008-02-03 12:28:48 bagder Exp $
 *
 * A multi-threaded example that uses pthreads and fetches 4 remote files at
 * once over HTTPS. The lock callbacks and stuff assume OpenSSL so far.
 * Should be expanded to do optional GnuTLS style locking.
 *
 * OpenSSL docs for this: http://www.openssl.org/docs/crypto/threads.html
 */

#include <stdio.h>
(Continue reading)

cvs | 3 Feb 13:31 2008
Picon

bagder: curl CHANGES,1.1243,1.1244

Update of /cvsroot/curl/curl
In directory labb:/tmp/cvs-serv5248

Modified Files:
	CHANGES 
Log Message:
- Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
  use of the "is_in_pipeline" struct field.

Index: CHANGES
===================================================================
RCS file: /cvsroot/curl/curl/CHANGES,v
retrieving revision 1.1243
retrieving revision 1.1244
diff -u -d -r1.1243 -r1.1244
--- CHANGES	31 Jan 2008 12:21:57 -0000	1.1243
+++ CHANGES	3 Feb 2008 12:31:35 -0000	1.1244
 <at>  <at>  -6,6 +6,14  <at>  <at> 

                                   Changelog

+Daniel S (3 Feb 2008)
+- Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
+  use of the "is_in_pipeline" struct field.
+
+- I wrote up and added the threaded-ssl.c example source code that shows how
+  to do multi-threaded downloads of HTTPS files with a libcurl that is built
+  with OpenSSL. It uses pthreads for the threading.
+
 Daniel S (31 Jan 2008)
(Continue reading)

cvs | 3 Feb 13:31 2008
Picon

bagder: curl/lib multi.c, 1.163, 1.164 url.c, 1.698, 1.699 urldata.h, 1.373, 1.374

Update of /cvsroot/curl/curl/lib
In directory labb:/tmp/cvs-serv5248/lib

Modified Files:
	multi.c url.c urldata.h 
Log Message:
- Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
  use of the "is_in_pipeline" struct field.

Index: url.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/url.c,v
retrieving revision 1.698
retrieving revision 1.699
diff -u -d -r1.698 -r1.699
--- url.c	31 Jan 2008 12:04:33 -0000	1.698
+++ url.c	3 Feb 2008 12:31:35 -0000	1.699
 <at>  <at>  -387,9 +387,6  <at>  <at> 
   /* only for debugging, scan through all connections and see if there's a
      pipe reference still identifying this handle */

-  if(data->state.is_in_pipeline)
-    fprintf(stderr, "CLOSED when in pipeline!\n");
-
   if(data->state.connc && data->state.connc->type == CONNCACHE_MULTI) {
     struct conncache *c = data->state.connc;
     long i;
 <at>  <at>  -2477,9 +2474,9  <at>  <at> 
     }

(Continue reading)

cvs | 4 Feb 23:29 2008
Picon

gknauf: curl/lib Makefile.netware,1.73,1.74

Update of /cvsroot/curl/curl/lib
In directory labb:/tmp/cvs-serv12754/lib

Modified Files:
	Makefile.netware 
Log Message:
added makefile flag to link with NLM POSIX semantics.

Index: Makefile.netware
===================================================================
RCS file: /cvsroot/curl/curl/lib/Makefile.netware,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- Makefile.netware	24 Jan 2008 15:28:47 -0000	1.73
+++ Makefile.netware	4 Feb 2008 22:29:52 -0000	1.74
 <at>  <at>  -42,6 +42,9  <at>  <at> 
 SCREEN	= none
 EXPORTS	=  <at> libcurl.imp

+# Uncomment the next line to enable linking with POSIX semantics.
+# POSIXFL = 1
+
 # Edit the var below to point to your lib architecture.
 ifndef LIBARCH
 LIBARCH = LIBC
 <at>  <at>  -102,7 +105,11  <at>  <at> 
 CFLAGS	+= -relax_pointers
 #CFLAGS	+= -w on
 ifeq ($(LIBARCH),LIBC)
(Continue reading)

cvs | 4 Feb 23:29 2008
Picon

gknauf: curl/src Makefile.netware,1.64,1.65

Update of /cvsroot/curl/curl/src
In directory labb:/tmp/cvs-serv12754/src

Modified Files:
	Makefile.netware 
Log Message:
added makefile flag to link with NLM POSIX semantics.

Index: Makefile.netware
===================================================================
RCS file: /cvsroot/curl/curl/src/Makefile.netware,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- Makefile.netware	24 Jan 2008 15:28:47 -0000	1.64
+++ Makefile.netware	4 Feb 2008 22:29:52 -0000	1.65
 <at>  <at>  -41,7 +41,10  <at>  <at> 
 STACK	= 64000
 SCREEN	= $(TARGET) commandline utility
 # Comment the line below if you dont want to load protected automatically.
-#LDRING	= 3
+# LDRING = 3
+
+# Uncomment the next line to enable linking with POSIX semantics.
+# POSIXFL = 1

 # Edit the var below to point to your lib architecture.
 ifndef LIBARCH
 <at>  <at>  -99,7 +102,11  <at>  <at> 
 CFLAGS	+= -relax_pointers
(Continue reading)

cvs | 4 Feb 23:41 2008
Picon

gknauf: curl/lib Makefile.netware,1.74,1.75

Update of /cvsroot/curl/curl/lib
In directory labb:/tmp/cvs-serv21919/lib

Modified Files:
	Makefile.netware 
Log Message:
fixed entry symbols when linked with posix prelude.

Index: Makefile.netware
===================================================================
RCS file: /cvsroot/curl/curl/lib/Makefile.netware,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- Makefile.netware	4 Feb 2008 22:29:52 -0000	1.74
+++ Makefile.netware	4 Feb 2008 22:40:59 -0000	1.75
 <at>  <at>  -328,9 +328,14  <at>  <at> 
 	 <at> echo $(DL)flag_on 4194304$(DL) >> $ <at> 
 endif
 	 <at> echo $(DL)pseudopreemption$(DL) >> $ <at> 
+ifeq ($(findstring posixpre,$(PRELUDE)),posixpre)
+	 <at> echo $(DL)start POSIX_Start$(DL) >> $ <at> 
+	 <at> echo $(DL)exit POSIX_Stop$(DL) >> $ <at> 
+else
 	 <at> echo $(DL)start _LibCPrelude$(DL) >> $ <at> 
 	 <at> echo $(DL)exit _LibCPostlude$(DL) >> $ <at> 
 	 <at> echo $(DL)check _LibCCheckUnload$(DL) >> $ <at> 
+endif
 	 <at> echo $(DL)import  <at> $(SDK_LIBC)/imports/libc.imp$(DL) >> $ <at> 
 	 <at> echo $(DL)import  <at> $(SDK_LIBC)/imports/netware.imp$(DL) >> $ <at> 
(Continue reading)

cvs | 4 Feb 23:41 2008
Picon

gknauf: curl/src Makefile.netware,1.65,1.66

Update of /cvsroot/curl/curl/src
In directory labb:/tmp/cvs-serv21919/src

Modified Files:
	Makefile.netware 
Log Message:
fixed entry symbols when linked with posix prelude.

Index: Makefile.netware
===================================================================
RCS file: /cvsroot/curl/curl/src/Makefile.netware,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- Makefile.netware	4 Feb 2008 22:29:52 -0000	1.65
+++ Makefile.netware	4 Feb 2008 22:40:59 -0000	1.66
 <at>  <at>  -316,9 +316,14  <at>  <at> 
 endif
 	 <at> echo $(DL)flag_on 64$(DL) >> $ <at> 
 	 <at> echo $(DL)pseudopreemption$(DL) >> $ <at> 
+ifeq ($(findstring posixpre,$(PRELUDE)),posixpre)
+	 <at> echo $(DL)start POSIX_Start$(DL) >> $ <at> 
+	 <at> echo $(DL)exit POSIX_Stop$(DL) >> $ <at> 
+else
 	 <at> echo $(DL)start _LibCPrelude$(DL) >> $ <at> 
 	 <at> echo $(DL)exit _LibCPostlude$(DL) >> $ <at> 
 	 <at> echo $(DL)check _LibCCheckUnload$(DL) >> $ <at> 
+endif
 	 <at> echo $(DL)import  <at> $(SDK_LIBC)/imports/libc.imp$(DL) >> $ <at> 
 	 <at> echo $(DL)import  <at> $(SDK_LIBC)/imports/netware.imp$(DL) >> $ <at> 
(Continue reading)

cvs | 5 Feb 03:21 2008
Picon

yangtse: curl/tests/server sws.c,1.110,1.111

Update of /cvsroot/curl/curl/tests/server
In directory labb:/tmp/cvs-serv3236/tests/server

Modified Files:
	sws.c 
Log Message:
proper initialization of httprequest, no longer zeroing out twice
the whole 150000+ bytes struct, and also removing an equally big
additional buffer for pipelining treatment.

Index: sws.c
===================================================================
RCS file: /cvsroot/curl/curl/tests/server/sws.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- sws.c	25 Jan 2008 05:08:53 -0000	1.110
+++ sws.c	5 Feb 2008 02:21:38 -0000	1.111
 <at>  <at>  -529,30 +529,37  <at>  <at> 
   int fail= FALSE;
   char *reqbuf = req->reqbuf;

-  char pipereq[REQBUFSIZ];
-  int pipereq_length;
+  char *pipereq;
+  int pipereq_length = 0;
+
   if(req->pipelining) {
+    pipereq = reqbuf + req->checkindex;
     pipereq_length = req->offset - req->checkindex;
(Continue reading)


Gmane