* gpgkeys_hkp.c (send_key): Use CRLF in headers.
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 9 Sep 2002 20:16:24 +0000 (20:16 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 9 Sep 2002 20:16:24 +0000 (20:16 +0000)
keyserver/ChangeLog
keyserver/gpgkeys_hkp.c

index 0883e85..c39ddf3 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-09  David Shaw  <dshaw@jabberwocky.com>
+
+       * gpgkeys_hkp.c (send_key): Use CRLF in headers.
+
 2002-08-28  David Shaw  <dshaw@jabberwocky.com>
 
        * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all
index 843035b..101366b 100644 (file)
@@ -141,7 +141,7 @@ int send_key(void)
       goto fail;
     }
 
-  sprintf(request,"Content-Length: %u\n",
+  sprintf(request,"Content-Length: %u\r\n",
          (unsigned)iobuf_get_temp_length(temp)+9);
   iobuf_writestr(hd.fp_write,request);