Can't get key from keyserver: eof
Walter Hofmann
Walter.Hofmann@physik.stud.uni-erlangen.de
Sat, 4 Dec 1999 16:16:06 +0100
--9Ek0hoCL9XbhcSqy
Content-Type: multipart/mixed; boundary="lEGEL1/lMxI0MVQ2"
--lEGEL1/lMxI0MVQ2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
On Fri, 03 Dec 1999, David DeSimone wrote:
> David DeSimone <fox@rsn.hp.com> wrote:
> >
> > gpg: Signature made Sat, Oct 30, 1999 04:25:24 PM CDT using RSA key=
ID 766CD151
> > gpg: requesting key 766CD151 from wwwkeys.us.pgp.net ...
> > gpg: can't get key from keyserver: eof
> > gpg: Can't check signature: public key not found
>=20
> I have an update on this problem. If I comment out the following
> statement, it works!
Sorry, I didn't read this thread, do you happen to use Internet Junk
Buster and forward your key request via this proxy??
If so, ijb breaks the connection once the browser closes the sending
part of the connection, which leads to this error. Commenting out the
shutdown call solves the problem, but leaves the socket open. You can
also move the shutdown call a few lines further down, which should solve
your problem without creating the other.
In case you really use ijb there is a patch attached which should help
as well.
Walter
--lEGEL1/lMxI0MVQ2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=ijb-patch
diff -ur ijb20/jcc.c ijb20.patched/jcc.c
--- ijb20/jcc.c Sat Oct 31 04:58:47 1998
+++ ijb20.patched/jcc.c Tue Oct 12 18:28:53 1999
@@ -198,6 +198,7 @@
struct cookie_spec *cs;
struct gateway *gw;
struct http_request *http;
+ int client_closed_connection = 0;
http = csp->http;
@@ -442,7 +443,8 @@
for(;;) {
FD_ZERO(&rfds);
- FD_SET(csp->cfd, &rfds);
+ if (!client_closed_connection)
+ FD_SET(csp->cfd, &rfds);
FD_SET(csp->sfd, &rfds);
n = select(maxfd+1, &rfds, NULL, NULL, NULL);
@@ -461,14 +463,19 @@
n = read_socket(csp->cfd, buf, sizeof(buf));
- if(n <= 0) break; /* "game over, man" */
-
- if(write_socket(csp->sfd, buf, n) != n) {
- fprintf(logfp, "%s: write to: %s failed: ",
- prog, http->host);
- fperror(logfp, "");
- return;
- }
+ if (n==0) {
+ /* The web browser shut down the sending half of
+ the connection. We shut down the sending part
+ of our connection to the server as well. */
+ client_closed_connection = 1;
+ shutdown(csp->sfd,1);
+ } else
+ if(write_socket(csp->sfd, buf, n) != n) {
+ fprintf(logfp, "%s: write to: %s failed: ",
+ prog, http->host);
+ fperror(logfp, "");
+ return;
+ }
continue;
}
--lEGEL1/lMxI0MVQ2--
--9Ek0hoCL9XbhcSqy
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
iQCVAwUBOEkwMvzeA3/eVHOFAQEHAwP/WSzDaqWz9/hCILnUlAH47bf1y2tuRVuN
grKu8eJ/MzpN97NCJPX6oD8ddtf1r/745bt72umhLygK7aMabRAwOSSbzPEe2Uhq
6MkVTKwoIxziDh//DVyd/N9Q9epZmrGevoB6mzOj5kO949NjzDa+v7c/+ntQfusb
xFk8NRsqQJk=
=+B31
-----END PGP SIGNATURE-----
--9Ek0hoCL9XbhcSqy--