keyserver sending problems

Werner Koch wk at
Sat May 5 19:20:04 CEST 2001


Here is a possible fix for the keyserver problem.  A least it now sends
http which seems to be correct for me:

$ nc -vlp 11371
listening on [any] 11371 ...
connect to [] from localhost [] 2331
POST /pks/add HTTP/1.0
Content-Length: 1752


I can't do a real test because I have no connection at the moment.

You need to add one line to util/http.c:

http_start_data( HTTP_HD hd )
    iobuf_flush ( hd->fp_write );  /* <--- Add this line */
    if( !hd->in_data ) {
        write_server (hd->sock, "\r\n", 2);
	hd->in_data = 1;



Werner Koch        Omnis enim res, quae dando non deficit, dum habetur
g10 Code GmbH      et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions                                        -- Augustinus

More information about the Gnupg-devel mailing list