sending large bulk data with assuan

Phil Sutter sutter at informatik.hs-furtwangen.de
Fri Jul 25 16:37:08 CEST 2008


Hi,

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
this:
| return (write(fd, buf, len) == len);
is a very bad idea.

Sorry for the traffic these mails generated. ;)

Greetings, Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: </pipermail/attachments/20080725/c69f2e91/attachment.pgp>


More information about the Gnupg-devel mailing list