[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-cvs
Subject:    cvs commit: ws-axis/c/src/transport/axis2/ipv6 IPV6Channel.cpp
From:       samisa () apache ! org
Date:       2004-11-30 10:35:42
Message-ID: 20041130103542.12843.qmail () minotaur ! apache ! org
[Download RAW message or body]

samisa      2004/11/30 02:35:42

  Modified:    c/src/transport/axis2 Channel.cpp Channel.h Makefile
               c/src/transport/axis2/ipv6 IPV6Channel.cpp
  Log:
  Turn off the Nagle algorithm - Patch by Steve Hardy. AXISCPP-286.
  
  Revision  Changes    Path
  1.9       +13 -0     ws-axis/c/src/transport/axis2/Channel.cpp
  
  Index: Channel.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Channel.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Channel.cpp	24 Nov 2004 08:08:50 -0000	1.8
  +++ Channel.cpp	30 Nov 2004 10:35:42 -0000	1.9
  @@ -223,6 +223,19 @@
   printf( "<Channel::open()=true, m_Sock=%d\n", m_Sock);
   #endif
   
  +    /* Turn off the Nagle algorithm - Patch by Steve Hardy */
  +
  +    /* This is needed, because our TCP stack would otherwise wait at most
  +     * 200 ms before actually sending data to the server (while waiting for
  +     * a full packet). This limits performance to around 5 requests per
  +     * second, which is not acceptable. Turning off the Nagle algorithm
  +     * allows for much faster transmission of small packets, but may
  +     * degrade high-bandwidth transmissions.
  +     */
  +
  +    int one = 1;
  +    setsockopt(m_Sock, IPPROTO_TCP, TCP_NODELAY, (char *)&one, sizeof(int));
  +
       return true;
   }
   
  
  
  
  1.6       +1 -0      ws-axis/c/src/transport/axis2/Channel.h
  
  Index: Channel.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Channel.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Channel.h	24 Nov 2004 10:15:29 -0000	1.5
  +++ Channel.h	30 Nov 2004 10:35:42 -0000	1.6
  @@ -47,6 +47,7 @@
   #include    <unistd.h>
   #include    <sys/types.h>    /* basic system data types  */
   #include    <sys/socket.h>    /* basic socket definitions */
  +#include <netinet/tcp.h>
   #include    <fcntl.h>        /* for nonblocking if need  */
   #include  <sys/time.h>
   #include    <netdb.h>
  
  
  
  1.11      +264 -160  ws-axis/c/src/transport/axis2/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Makefile,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Makefile	25 Nov 2004 12:41:58 -0000	1.10
  +++ Makefile	30 Nov 2004 10:35:42 -0000	1.11
  @@ -1,8 +1,8 @@
  -# Makefile.in generated by automake 1.6.3 from Makefile.am.
  +# Makefile.in generated by automake 1.8.3 from Makefile.am.
   # src/transport/axis2/Makefile.  Generated from Makefile.in by configure.
   
  -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
  -# Free Software Foundation, Inc.
  +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  +# 2003, 2004  Free Software Foundation, Inc.
   # This Makefile.in is free software; the Free Software Foundation
   # gives unlimited permission to copy and/or distribute it,
   # with or without modifications, as long as this notice is preserved.
  @@ -13,97 +13,190 @@
   # PARTICULAR PURPOSE.
   
   
  -SHELL = /bin/sh
  +
  +SOURCES = $(libaxis2_transport_la_SOURCES)
   
   srcdir = .
   top_srcdir = ../../..
   
  -prefix = /usr/local/axiscpp_deploy
  -exec_prefix = ${prefix}
  -
  -bindir = ${exec_prefix}/bin
  -sbindir = ${exec_prefix}/sbin
  -libexecdir = ${exec_prefix}/libexec
  -datadir = ${prefix}/share
  -sysconfdir = ${prefix}/etc
  -sharedstatedir = ${prefix}/com
  -localstatedir = ${prefix}/var
  -libdir = ${exec_prefix}/lib
  -infodir = ${prefix}/info
  -mandir = ${prefix}/man
  -includedir = ${prefix}/include
  -oldincludedir = /usr/include
   pkgdatadir = $(datadir)/axis-c-src
   pkglibdir = $(libdir)/axis-c-src
   pkgincludedir = $(includedir)/axis-c-src
   top_builddir = ../../..
  -
  -ACLOCAL = ${SHELL} /home/damitha/projects/cvshead/missing --run aclocal-1.6
  -AUTOCONF = ${SHELL} /home/damitha/projects/cvshead/missing --run autoconf
  -AUTOMAKE = ${SHELL} /home/damitha/projects/cvshead/missing --run automake-1.6
  -AUTOHEADER = ${SHELL} /home/damitha/projects/cvshead/missing --run autoheader
  -
   am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
   INSTALL = /usr/bin/install -c
  -INSTALL_PROGRAM = ${INSTALL}
  -INSTALL_DATA = ${INSTALL} -m 644
   install_sh_DATA = $(install_sh) -c -m 644
   install_sh_PROGRAM = $(install_sh) -c
   install_sh_SCRIPT = $(install_sh) -c
  -INSTALL_SCRIPT = ${INSTALL}
   INSTALL_HEADER = $(INSTALL_DATA)
  -transform = s,x,x,
  +transform = $(program_transform_name)
   NORMAL_INSTALL = :
   PRE_INSTALL = :
   POST_INSTALL = :
   NORMAL_UNINSTALL = :
   PRE_UNINSTALL = :
   POST_UNINSTALL = :
  -host_alias = 
  -host_triplet = i686-pc-linux-gnu
  -
  -EXEEXT = 
  -OBJEXT = o
  -PATH_SEPARATOR = :
  -AMTAR = ${SHELL} /home/damitha/projects/cvshead/missing --run tar
  +host_triplet = i686-redhat-linux-gnu
  +subdir = src/transport/axis2
  +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  +	$(ACLOCAL_M4)
  +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  +CONFIG_HEADER = $(top_builddir)/config.h
  +CONFIG_CLEAN_FILES =
  +am__installdirs = "$(DESTDIR)$(libdir)"
  +libLTLIBRARIES_INSTALL = $(INSTALL)
  +LTLIBRARIES = $(lib_LTLIBRARIES)
  +libaxis2_transport_la_DEPENDENCIES =
  +am_libaxis2_transport_la_OBJECTS = SecureChannel.lo Channel.lo URL.lo \
  +	Axis2Transport.lo AxisTransportException.lo \
  +	Axis2TransportInstantiator.lo SSLChannelFactory.lo
  +libaxis2_transport_la_OBJECTS = $(am_libaxis2_transport_la_OBJECTS)
  +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
  +depcomp = $(SHELL) $(top_srcdir)/depcomp
  +am__depfiles_maybe = depfiles
  +DEP_FILES = ./$(DEPDIR)/Axis2Transport.Plo \
  +	./$(DEPDIR)/Axis2TransportInstantiator.Plo \
  +	./$(DEPDIR)/AxisTransportException.Plo \
  +	./$(DEPDIR)/Channel.Plo \
  +	./$(DEPDIR)/SSLChannelFactory.Plo \
  +	./$(DEPDIR)/SecureChannel.Plo ./$(DEPDIR)/URL.Plo
  +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  +	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
  +	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  +	$(AM_CXXFLAGS) $(CXXFLAGS)
  +CXXLD = $(CXX)
  +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
  +	$(AM_LDFLAGS) $(LDFLAGS) -o $@
  +SOURCES = $(libaxis2_transport_la_SOURCES)
  +DIST_SOURCES = $(libaxis2_transport_la_SOURCES)
  +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  +	html-recursive info-recursive install-data-recursive \
  +	install-exec-recursive install-info-recursive \
  +	install-recursive installcheck-recursive installdirs-recursive \
  +	pdf-recursive ps-recursive uninstall-info-recursive \
  +	uninstall-recursive
  +ETAGS = etags
  +CTAGS = ctags
  +DIST_SUBDIRS = $(SUBDIRS)
  +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  +ACLOCAL = ${SHELL} /home/samisa/autoCVS/cvsAutoBuild/missing --run aclocal-1.8
  +AMDEP_FALSE = #
  +AMDEP_TRUE = 
  +AMTAR = ${SHELL} /home/samisa/autoCVS/cvsAutoBuild/missing --run tar
   APACHE2BUILD = apache2
   APACHE2INC = -I/usr/local/apache2/include
   APACHEBUILD = 
   APACHEINC = 
  -AS = @AS@
  +AR = ar
  +AUTOCONF = ${SHELL} /home/samisa/autoCVS/cvsAutoBuild/missing --run autoconf
  +AUTOHEADER = ${SHELL} /home/samisa/autoCVS/cvsAutoBuild/missing --run autoheader
  +AUTOMAKE = ${SHELL} /home/samisa/autoCVS/cvsAutoBuild/missing --run automake-1.8
   AWK = gawk
   CC = gcc
  +CCDEPMODE = depmode=gcc3
  +CFLAGS = -Wall -Wshadow -DENABLE_AXISTRACE
  +CPP = gcc -E
  +CPPFLAGS = -Wall -Wshadow -DENABLE_AXISTRACE
   CXX = g++
  +CXXCPP = g++ -E
  +CXXDEPMODE = depmode=gcc3
  +CXXFLAGS = -g -O2
  +CYGPATH_W = echo
  +DEFS = -DHAVE_CONFIG_H
   DEPDIR = .deps
  -DLLTOOL = @DLLTOOL@
   ECHO = echo
  +ECHO_C = 
  +ECHO_N = -n
  +ECHO_T = 
  +EGREP = grep -E
  +EXEEXT = 
   EXPATBUILD = 
   EXPATINC = 
   EXPATLIB = 
  +F77 = g77
  +FFLAGS = -g -O2
  +INSTALL_DATA = ${INSTALL} -m 644
  +INSTALL_PROGRAM = ${INSTALL}
  +INSTALL_SCRIPT = ${INSTALL}
   INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
  +LDFLAGS = -lstdc++
  +LIBOBJS = 
  +LIBS = 
   LIBTOOL = $(SHELL) $(top_builddir)/libtool
   LIBWWWBUILD = 
  -LINKCLIENTLIB = -L/home/damitha/projects/cvshead/src/engine/client \
-laxiscpp_client -ldl  +LINKCLIENTLIB = \
-L/home/samisa/autoCVS/cvsAutoBuild/src/engine/client -laxiscpp_client -ldl  LN_S = \
                ln -s
  -OBJDUMP = @OBJDUMP@
  +LTLIBOBJS = 
  +MAKEINFO = ${SHELL} /home/samisa/autoCVS/cvsAutoBuild/missing --run makeinfo
  +OBJEXT = o
   PACKAGE = axis-c-src
  +PACKAGE_BUGREPORT = BUG-REPORT-ADDRESS
  +PACKAGE_NAME = axis-c-src
  +PACKAGE_STRING = axis-c-src 1-3-beta-linux
  +PACKAGE_TARNAME = axis-c-src
  +PACKAGE_VERSION = 1-3-beta-linux
  +PATH_SEPARATOR = :
   RANLIB = ranlib
   SAMPLESBUILD = samples
  -SSLBUILD = ssl
  -SSLINC = -I/usr/local/ssl/include
  -SSLLIB = -L/usr/local/ssl/lib -lssl -L/usr/local/ssl/lib -lcrypto -ldl
  +SET_MAKE = 
  +SHELL = /bin/sh
  +SSLBUILD = 
  +SSLINC = 
  +SSLLIB = 
   STRIP = strip
   TESTCASESBUILD = tests
   TSPPBUILD = tspp
   VERSION = 1-3-beta-linux
   XERCESCBUILD = xerces
  -XERCESCINC = -I/usr/local/xerces-c/include
  -XERCESCLIB = -L/usr/local/xerces-c/lib -lxerces-c -ldl
  +XERCESCINC = -I/home/samisa/cpp/xerces-c-src2_2_0/include
  +XERCESCLIB = -L/home/samisa/cpp/xerces-c-src2_2_0/lib -lxerces-c -ldl
  +ac_ct_AR = ar
  +ac_ct_CC = gcc
  +ac_ct_CXX = g++
  +ac_ct_F77 = g77
  +ac_ct_RANLIB = ranlib
  +ac_ct_STRIP = strip
  +am__fastdepCC_FALSE = #
  +am__fastdepCC_TRUE = 
  +am__fastdepCXX_FALSE = #
  +am__fastdepCXX_TRUE = 
   am__include = include
  +am__leading_dot = .
   am__quote = 
  -install_sh = /home/damitha/projects/cvshead/install-sh
  +bindir = ${exec_prefix}/bin
  +build = i686-redhat-linux-gnu
  +build_alias = 
  +build_cpu = i686
  +build_os = linux-gnu
  +build_vendor = redhat
  +datadir = ${prefix}/share
  +exec_prefix = ${prefix}
  +host = i686-redhat-linux-gnu
  +host_alias = 
  +host_cpu = i686
  +host_os = linux-gnu
  +host_vendor = redhat
  +includedir = ${prefix}/include
  +infodir = ${prefix}/info
  +install_sh = /home/samisa/autoCVS/cvsAutoBuild/install-sh
  +libdir = ${exec_prefix}/lib
  +libexecdir = ${exec_prefix}/libexec
  +localstatedir = ${prefix}/var
  +mandir = ${prefix}/man
  +mkdir_p = mkdir -p -- .
  +oldincludedir = /usr/include
  +prefix = /home/samisa/autoCVS/cvsAutoBuild/deploy
  +program_transform_name = s,x,x,
  +sbindir = ${exec_prefix}/sbin
  +sharedstatedir = ${prefix}/com
  +sysconfdir = ${prefix}/etc
  +target_alias = 
   lib_LTLIBRARIES = libaxis2_transport.la
  -SUBDIRS = ipv6 ssl
  +SUBDIRS = ipv6 
   AM_CPPFLAGS = $(CPPFLAGS)
   libaxis2_transport_la_SOURCES = SecureChannel.cpp \
   				Channel.cpp \
  @@ -113,72 +206,49 @@
   				Axis2TransportInstantiator.cpp \
   				SSLChannelFactory.cpp
   
  -
   libaxis2_transport_la_LIBADD = -lstdc++
   INCLUDES = -I../../../include
  -subdir = src/transport/axis2
  -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  -CONFIG_HEADER = $(top_builddir)/config.h
  -CONFIG_CLEAN_FILES =
  -LTLIBRARIES = $(lib_LTLIBRARIES)
  -
  -libaxis2_transport_la_LDFLAGS =
  -libaxis2_transport_la_DEPENDENCIES =
  -am_libaxis2_transport_la_OBJECTS = SecureChannel.lo Channel.lo URL.lo \
  -	Axis2Transport.lo AxisTransportException.lo \
  -	Axis2TransportInstantiator.lo SSLChannelFactory.lo
  -libaxis2_transport_la_OBJECTS = $(am_libaxis2_transport_la_OBJECTS)
  -
  -DEFS = -DHAVE_CONFIG_H
  -DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
  -CPPFLAGS = -Wall -Wshadow -DENABLE_AXISTRACE
  -LDFLAGS = -lstdc++
  -LIBS = 
  -depcomp = $(SHELL) $(top_srcdir)/depcomp
  -am__depfiles_maybe = depfiles
  -DEP_FILES = ./$(DEPDIR)/Axis2Transport.Plo \
  -	./$(DEPDIR)/Axis2TransportInstantiator.Plo \
  -	./$(DEPDIR)/AxisTransportException.Plo \
  -	./$(DEPDIR)/Channel.Plo \
  -	./$(DEPDIR)/SSLChannelFactory.Plo \
  -	./$(DEPDIR)/SecureChannel.Plo ./$(DEPDIR)/URL.Plo
  -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  -	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
  -	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  -	$(AM_CXXFLAGS) $(CXXFLAGS)
  -CXXLD = $(CXX)
  -CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
  -	$(AM_LDFLAGS) $(LDFLAGS) -o $@
  -CXXFLAGS = -g -O2
  -DIST_SOURCES = $(libaxis2_transport_la_SOURCES)
  -
  -RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
  -	uninstall-info-recursive all-recursive install-data-recursive \
  -	install-exec-recursive installdirs-recursive install-recursive \
  -	uninstall-recursive check-recursive installcheck-recursive
  -DIST_COMMON = Makefile.am Makefile.in
  -DIST_SUBDIRS = $(SUBDIRS)
  -SOURCES = $(libaxis2_transport_la_SOURCES)
  -
   all: all-recursive
   
   .SUFFIXES:
   .SUFFIXES: .cpp .lo .o .obj
  -$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
  +$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
  +	@for dep in $?; do \
  +	  case '$(am__configure_deps)' in \
  +	    *$$dep*) \
  +	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  +		&& exit 0; \
  +	      exit 1;; \
  +	  esac; \
  +	done; \
  +	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/transport/axis2/Makefile'; \
   	cd $(top_srcdir) && \
   	  $(AUTOMAKE) --gnu  src/transport/axis2/Makefile
  -Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
  -	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
  -libLTLIBRARIES_INSTALL = $(INSTALL)
  +.PRECIOUS: Makefile
  +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  +	@case '$?' in \
  +	  *config.status*) \
  +	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  +	  *) \
  +	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ \
$(am__depfiles_maybe)'; \  +	    cd $(top_builddir) && $(SHELL) ./config.status \
$(subdir)/$@ $(am__depfiles_maybe);; \  +	esac;
  +
  +$(top_builddir)/config.status: $(top_srcdir)/configure \
$(CONFIG_STATUS_DEPENDENCIES)  +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) \
am--refresh  +
  +$(top_srcdir)/configure:  $(am__configure_deps)
  +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  +$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
  +	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   install-libLTLIBRARIES: $(lib_LTLIBRARIES)
   	@$(NORMAL_INSTALL)
  -	$(mkinstalldirs) $(DESTDIR)$(libdir)
  +	test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
   	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
   	  if test -f $$p; then \
   	    f="`echo $$p | sed -e 's|^.*/||'`"; \
  -	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) \
                $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
  -	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p \
$(DESTDIR)$(libdir)/$$f; \  +	    echo " $(LIBTOOL) --mode=install \
$(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \  \
+	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" \
"$(DESTDIR)$(libdir)/$$f"; \  else :; fi; \
   	done
   
  @@ -186,15 +256,15 @@
   	@$(NORMAL_UNINSTALL)
   	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
   	    p="`echo $$p | sed -e 's|^.*/||'`"; \
  -	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
  -	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
  +	  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  +	  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
   	done
   
   clean-libLTLIBRARIES:
   	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
   	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
   	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  -	  test -z "$dir" && dir=.; \
  +	  test "$$dir" = "$$p" && dir=.; \
   	  echo "rm -f \"$${dir}/so_locations\""; \
   	  rm -f "$${dir}/so_locations"; \
   	done
  @@ -202,7 +272,7 @@
   	$(CXXLINK) -rpath $(libdir) $(libaxis2_transport_la_LDFLAGS) \
$(libaxis2_transport_la_OBJECTS) $(libaxis2_transport_la_LIBADD) $(LIBS)  
   mostlyclean-compile:
  -	-rm -f *.$(OBJEXT) core *.core
  +	-rm -f *.$(OBJEXT)
   
   distclean-compile:
   	-rm -f *.tab.c
  @@ -215,27 +285,29 @@
   include ./$(DEPDIR)/SecureChannel.Plo
   include ./$(DEPDIR)/URL.Plo
   
  -distclean-depend:
  -	-rm -rf ./$(DEPDIR)
  -
   .cpp.o:
  -	source='$<' object='$@' libtool=no \
  -	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
  -	$(CXXDEPMODE) $(depcomp) \
  -	$(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
  +	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  +	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; \
exit 1; fi  +#	source='$<' object='$@' libtool=no \
  +#	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
  +#	$(CXXDEPMODE) $(depcomp) \
  +#	$(CXXCOMPILE) -c -o $@ $<
   
   .cpp.obj:
  -	source='$<' object='$@' libtool=no \
  -	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
  -	$(CXXDEPMODE) $(depcomp) \
  -	$(CXXCOMPILE) -c -o $@ `cygpath -w $<`
  +	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) \
'$<'`; \  +	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f \
"$(DEPDIR)/$*.Tpo"; exit 1; fi  +#	source='$<' object='$@' libtool=no \
  +#	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
  +#	$(CXXDEPMODE) $(depcomp) \
  +#	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
   
   .cpp.lo:
  -	source='$<' object='$@' libtool=yes \
  -	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
  -	$(CXXDEPMODE) $(depcomp) \
  -	$(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
  -CXXDEPMODE = depmode=gcc3
  +	if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  +	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; \
exit 1; fi  +#	source='$<' object='$@' libtool=yes \
  +#	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
  +#	$(CXXDEPMODE) $(depcomp) \
  +#	$(LTCXXCOMPILE) -c -o $@ $<
   
   mostlyclean-libtool:
   	-rm -f *.lo
  @@ -301,11 +373,10 @@
   	list='$(SUBDIRS)'; for subdir in $$list; do \
   	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
   	done
  -
  -ETAGS = etags
  -ETAGSFLAGS =
  -
  -tags: TAGS
  +ctags-recursive:
  +	list='$(SUBDIRS)'; for subdir in $$list; do \
  +	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  +	done
   
   ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
   	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  @@ -315,14 +386,21 @@
   	  $(AWK) '    { files[$$0] = 1; } \
   	       END { for (i in files) print i; }'`; \
   	mkid -fID $$unique
  +tags: TAGS
   
   TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
   		$(TAGS_FILES) $(LISP)
   	tags=; \
   	here=`pwd`; \
  +	if (etags --etags-include --version) >/dev/null 2>&1; then \
  +	  include_option=--etags-include; \
  +	else \
  +	  include_option=--include; \
  +	fi; \
   	list='$(SUBDIRS)'; for subdir in $$list; do \
   	  if test "$$subdir" = .; then :; else \
  -	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
  +	    test -f $$subdir/TAGS && \
  +	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
   	  fi; \
   	done; \
   	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
  @@ -334,6 +412,20 @@
   	test -z "$(ETAGS_ARGS)$$tags$$unique" \
   	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
   	     $$tags $$unique
  +ctags: CTAGS
  +CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  +		$(TAGS_FILES) $(LISP)
  +	tags=; \
  +	here=`pwd`; \
  +	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
  +	unique=`for i in $$list; do \
  +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  +	  done | \
  +	  $(AWK) '    { files[$$0] = 1; } \
  +	       END { for (i in files) print i; }'`; \
  +	test -z "$(CTAGS_ARGS)$$tags$$unique" \
  +	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  +	     $$tags $$unique
   
   GTAGS:
   	here=`$(am__cd) $(top_builddir) && pwd` \
  @@ -341,19 +433,21 @@
   	  && gtags -i $(GTAGS_ARGS) $$here
   
   distclean-tags:
  -	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
  -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  -
  -top_distdir = ../../..
  -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
  +	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
   
   distdir: $(DISTFILES)
  -	@list='$(DISTFILES)'; for file in $$list; do \
  +	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  +	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  +	list='$(DISTFILES)'; for file in $$list; do \
  +	  case $$file in \
  +	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  +	    $(top_srcdir)/*) file=`echo "$$file" | sed \
"s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \  +	  esac; \
   	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
   	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
   	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
   	    dir="/$$dir"; \
  -	    $(mkinstalldirs) "$(distdir)$$dir"; \
  +	    $(mkdir_p) "$(distdir)$$dir"; \
   	  else \
   	    dir=''; \
   	  fi; \
  @@ -370,13 +464,13 @@
   	done
   	list='$(SUBDIRS)'; for subdir in $$list; do \
   	  if test "$$subdir" = .; then :; else \
  -	    test -d $(distdir)/$$subdir \
  -	    || mkdir $(distdir)/$$subdir \
  +	    test -d "$(distdir)/$$subdir" \
  +	    || mkdir "$(distdir)/$$subdir" \
   	    || exit 1; \
   	    (cd $$subdir && \
   	      $(MAKE) $(AM_MAKEFLAGS) \
  -	        top_distdir="$(top_distdir)" \
  -	        distdir=../$(distdir)/$$subdir \
  +	        top_distdir="../$(top_distdir)" \
  +	        distdir="../$(distdir)/$$subdir" \
   	        distdir) \
   	      || exit 1; \
   	  fi; \
  @@ -386,8 +480,9 @@
   all-am: Makefile $(LTLIBRARIES)
   installdirs: installdirs-recursive
   installdirs-am:
  -	$(mkinstalldirs) $(DESTDIR)$(libdir)
  -
  +	for dir in "$(DESTDIR)$(libdir)"; do \
  +	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
  +	done
   install: install-recursive
   install-exec: install-exec-recursive
   install-data: install-data-recursive
  @@ -399,7 +494,7 @@
   installcheck: installcheck-recursive
   install-strip:
   	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  -	  INSTALL_STRIP_FLAG=-s \
  +	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   	  `test -z '$(STRIP)' || \
   	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
   mostlyclean-generic:
  @@ -407,7 +502,7 @@
   clean-generic:
   
   distclean-generic:
  -	-rm -f Makefile $(CONFIG_CLEAN_FILES)
  +	-rm -f $(CONFIG_CLEAN_FILES)
   
   maintainer-clean-generic:
   	@echo "This command is intended for maintainers to use"
  @@ -418,14 +513,17 @@
   	mostlyclean-am
   
   distclean: distclean-recursive
  -
  -distclean-am: clean-am distclean-compile distclean-depend \
  -	distclean-generic distclean-libtool distclean-tags
  +	-rm -rf ./$(DEPDIR)
  +	-rm -f Makefile
  +distclean-am: clean-am distclean-compile distclean-generic \
  +	distclean-libtool distclean-tags
   
   dvi: dvi-recursive
   
   dvi-am:
   
  +html: html-recursive
  +
   info: info-recursive
   
   info-am:
  @@ -441,7 +539,8 @@
   installcheck-am:
   
   maintainer-clean: maintainer-clean-recursive
  -
  +	-rm -rf ./$(DEPDIR)
  +	-rm -f Makefile
   maintainer-clean-am: distclean-am maintainer-clean-generic
   
   mostlyclean: mostlyclean-recursive
  @@ -449,27 +548,32 @@
   mostlyclean-am: mostlyclean-compile mostlyclean-generic \
   	mostlyclean-libtool
   
  +pdf: pdf-recursive
  +
  +pdf-am:
  +
  +ps: ps-recursive
  +
  +ps-am:
  +
   uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
   
   uninstall-info: uninstall-info-recursive
   
  -.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
  -	clean-generic clean-libLTLIBRARIES clean-libtool \
  -	clean-recursive distclean distclean-compile distclean-depend \
  -	distclean-generic distclean-libtool distclean-recursive \
  -	distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
  -	info-recursive install install-am install-data install-data-am \
  -	install-data-recursive install-exec install-exec-am \
  -	install-exec-recursive install-info install-info-am \
  -	install-info-recursive install-libLTLIBRARIES install-man \
  -	install-recursive install-strip installcheck installcheck-am \
  -	installdirs installdirs-am installdirs-recursive \
  -	maintainer-clean maintainer-clean-generic \
  +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  +	clean clean-generic clean-libLTLIBRARIES clean-libtool \
  +	clean-recursive ctags ctags-recursive distclean \
  +	distclean-compile distclean-generic distclean-libtool \
  +	distclean-recursive distclean-tags distdir dvi dvi-am html \
  +	html-am info info-am install install-am install-data \
  +	install-data-am install-exec install-exec-am install-info \
  +	install-info-am install-libLTLIBRARIES install-man \
  +	install-strip installcheck installcheck-am installdirs \
  +	installdirs-am maintainer-clean maintainer-clean-generic \
   	maintainer-clean-recursive mostlyclean mostlyclean-compile \
   	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
  -	tags tags-recursive uninstall uninstall-am uninstall-info-am \
  -	uninstall-info-recursive uninstall-libLTLIBRARIES \
  -	uninstall-recursive
  +	pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
  +	uninstall-info-am uninstall-libLTLIBRARIES
   
   # Tell versions [3.59,3.63) of GNU make to not export all variables.
   # Otherwise a system limit (for SysV at least) may be exceeded.
  
  
  
  1.5       +13 -0     ws-axis/c/src/transport/axis2/ipv6/IPV6Channel.cpp
  
  Index: IPV6Channel.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/ipv6/IPV6Channel.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- IPV6Channel.cpp	24 Nov 2004 08:08:50 -0000	1.4
  +++ IPV6Channel.cpp	30 Nov 2004 10:35:42 -0000	1.5
  @@ -164,6 +164,19 @@
       printf( "<IPV6Channel::open()=true, m_Sock=%d\n", m_Sock);
   #endif
   
  +    /* Turn off the Nagle algorithm - Patch by Steve Hardy */
  +
  +    /* This is needed, because our TCP stack would otherwise wait at most
  +     * 200 ms before actually sending data to the server (while waiting for
  +     * a full packet). This limits performance to around 5 requests per
  +     * second, which is not acceptable. Turning off the Nagle algorithm
  +     * allows for much faster transmission of small packets, but may
  +     * degrade high-bandwidth transmissions.
  +     */
  +
  +    int one = 1;
  +    setsockopt(m_Sock, IPPROTO_TCP, TCP_NODELAY, (char *)&one, sizeof(int));
  +
       return true;
   }
   
  
  
  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic