[Fedora-directory-commits] esc/src/lib/NssHttpClient httpClientNss.cpp, 1.2, 1.3 manifest.mn, 1.3, 1.4
Jack Magne
jmagne at fedoraproject.org
Wed Feb 4 01:43:49 UTC 2009
- Previous message (by thread): [Fedora-directory-commits] esc/src/app/xul/esc application.ini, 1.6, 1.7
- Next message (by thread): [Fedora-directory-commits] esc/src/app/xpcom/tray Makefile.sdk, NONE, 1.1 Makefile, 1.3, 1.4 rhLinuxTray.cpp, 1.6, 1.7 rhTray.h, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jmagne
Update of /cvs/dirsec/esc/src/lib/NssHttpClient
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17947/lib/NssHttpClient
Modified Files:
httpClientNss.cpp manifest.mn
Log Message:
Latest RHEL fixes.
Index: httpClientNss.cpp
===================================================================
RCS file: /cvs/dirsec/esc/src/lib/NssHttpClient/httpClientNss.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- httpClientNss.cpp 27 Sep 2006 17:49:21 -0000 1.2
+++ httpClientNss.cpp 4 Feb 2009 01:43:47 -0000 1.3
@@ -50,6 +50,11 @@
{
delete _response;
}
+
+ if(_engine)
+ {
+ delete _engine;
+ }
}
/*
@@ -90,10 +95,14 @@
{
request.setChunkedEntityData((int)strlen(body),body);
}
- HttpEngine engine;
- _engine = &engine;
- PSHttpResponse *resp = engine.makeRequest( request, server, timeout /*_timeout*/ , PR_FALSE /* expect chunked*/,PR_TRUE /* process streamed */);
+ _engine = new HttpEngine();
+
+ if(!_engine)
+ return NULL;
+
+
+ PSHttpResponse *resp = _engine->makeRequest( request, server, timeout /*_timeout*/ , PR_FALSE /* expect chunked*/,PR_TRUE /* process streamed */);
_response = resp;
Index: manifest.mn
===================================================================
RCS file: /cvs/dirsec/esc/src/lib/NssHttpClient/manifest.mn,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- manifest.mn 10 Jan 2007 02:20:51 -0000 1.3
+++ manifest.mn 4 Feb 2009 01:43:47 -0000 1.4
@@ -31,7 +31,7 @@
MAPFILE = $(OBJDIR)/httpchunked.def
-DEFINES = -I$(SYS_INC)/nspr4 -I$(SYS_INC)/nss3 -I$(SYS_INC)/$(MOZ_OFFSET)/nspr -I$(SYS_INC)/$(MOZ_OFFSET)/nss -I$(XULRUNNER_BASE)/dist/public/nss -I$(XULRUNNER_BASE)/dist/include/nspr
+DEFINES = -I$(SYS_INC)/nspr4 -I$(SYS_INC)/nss3 -I$(SYS_INC)/$(MOZ_OFFSET)/nspr -I$(SYS_INC)/$(MOZ_OFFSET)/nss -I$(XULRUNNER_BASE)/dist/public/nss -I$(XULRUNNER_BASE)/dist/include/nspr -I$(GECKO_SDK_PATH)/include/nspr -I$(GECKO_SDK_PATH)/include/nss
CPPSRCS = \
Cache.cpp \
- Previous message (by thread): [Fedora-directory-commits] esc/src/app/xul/esc application.ini, 1.6, 1.7
- Next message (by thread): [Fedora-directory-commits] esc/src/app/xpcom/tray Makefile.sdk, NONE, 1.1 Makefile, 1.3, 1.4 rhLinuxTray.cpp, 1.6, 1.7 rhTray.h, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list