[git] GnuPG - branch, STABLE-BRANCH-2-0, updated. gnupg-2.0.19-88-gfe85638
by David Shaw
cvs at cvs.gnupg.org
Thu Feb 28 20:00:28 CET 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, STABLE-BRANCH-2-0 has been updated
via fe85638284880805b80778fe87ae551d3de0ca32 (commit)
from 815d01fceb56bc03cb0df0826a9a8438970dbda4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fe85638284880805b80778fe87ae551d3de0ca32
Author: David Shaw <dshaw at jabberwocky.com>
Date: Thu Feb 28 13:48:58 2013 -0500
Bring the fix for bug 739 on 1.4 over to 2.0 (bug 1479)
* http.h, http.c (http_wait_response, main): Remove
HTTP_FLAG_NO_SHUTDOWN.
diff --git a/common/http.c b/common/http.c
index 755ab1b..49859fa 100644
--- a/common/http.c
+++ b/common/http.c
@@ -1,6 +1,6 @@
/* http.c - HTTP protocol handler
* Copyright (C) 1999, 2001, 2002, 2003, 2004, 2006,
- * 2009, 2012 Free Software Foundation, Inc.
+ * 2009, 2012, 2013 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -417,8 +417,6 @@ http_wait_response (http_t hd)
hd->write_cookie = NULL;
#endif
- if (!(hd->flags & HTTP_FLAG_NO_SHUTDOWN))
- shutdown (hd->sock, 1);
hd->in_data = 0;
#ifdef HTTP_USE_ESTREAM
@@ -2039,8 +2037,7 @@ main (int argc, char **argv)
http_release_parsed_uri (uri);
uri = NULL;
- rc = http_open_document (&hd, *argv, NULL,
- HTTP_FLAG_NO_SHUTDOWN | HTTP_FLAG_NEED_HEADER,
+ rc = http_open_document (&hd, *argv, NULL, HTTP_FLAG_NEED_HEADER,
NULL, tls_session);
if (rc)
{
diff --git a/common/http.h b/common/http.h
index 2b17ab7..0b1dc4d 100644
--- a/common/http.h
+++ b/common/http.h
@@ -1,6 +1,6 @@
/* http.h - HTTP protocol handler
* Copyright (C) 1999, 2000, 2001, 2003,
- * 2006, 2012 Free Software Foundation, Inc.
+ * 2006, 2012, 2013 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -62,9 +62,8 @@ http_req_t;
enum
{
HTTP_FLAG_TRY_PROXY = 1,
- HTTP_FLAG_NO_SHUTDOWN = 2,
- HTTP_FLAG_LOG_RESP = 4,
- HTTP_FLAG_NEED_HEADER = 8
+ HTTP_FLAG_LOG_RESP = 2,
+ HTTP_FLAG_NEED_HEADER = 4
};
struct http_context_s;
-----------------------------------------------------------------------
Summary of changes:
common/http.c | 7 ++-----
common/http.h | 7 +++----
2 files changed, 5 insertions(+), 9 deletions(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list