2.4.2 issue still

Russ Allbery rra at stanford.edu
Sat Jan 1 19:09:30 UTC 2005


Tuc <tuc at ttsg.com> writes:

> hermod% ./ctlinnd name ''
> ctlinnd: cannot send "name" command (short read failure)

Could you apply this patch to your INN tree, rebuild with the same
configure options and everything, and then use the resulting ctlinnd
binary in ../frontends to try this again?  This should result in a more
informative error message.  (You don't need to install the newly built
binaries or anything; you can run ctlinnd out of the source tree.)

--- lib/inndcomm.c  2004/05/17 08:52:15     1.24.2.1
+++ lib/inndcomm.c  2005/01/01 19:07:26
@@ -342,6 +342,7 @@ ICCcommand(char cmd, const char *argv[],
 
     if (i != rlen) {
         free(buff);
+        warn("short read: got %d, packet said %hu", i, rlen);
         ICCfailure = "short read";
         return -1;
     }

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list