sending large bulk data with assuan
sutter at informatik.hs-furtwangen.de
Fri Jul 25 16:37:08 CEST 2008
On Thu, Jul 24, 2008 at 03:06:37PM +0200, Phil Sutter wrote:
> The problem here is the callback function only receives the first line
> of data (996 Bytes). Though when I talk assuan directly to the server
> (i.e. executing it and typing the commands manually) I get four lines of
> data (prefixed with "D") and then a final "OK".
Ok, forget it. I already knew that the callback functions have to return
zero to indicate everything is fine. Though having a statement like
| return (write(fd, buf, len) == len);
is a very bad idea.
Sorry for the traffic these mails generated. ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Gnupg-devel