Re: client_side.c speedup when sending body

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 10 May 2000 08:26:40 +0200

Duane Wessels wrote:

> +static void
> +clientWriteBodyComplete(int fd, char *buf, size_t size, int errflag,
> + void *data)
> +{
> + memFree(buf, MEM_CLIENT_SOCK_BUF);
> + clientWriteComplete(fd, buf, size, errflag, data);
> }

Shouldn't the buf argument in clientWriteComplete be NULL or something?
I don't like passing around pointers to freed memory..

/Henrik
Received on Wed May 10 2000 - 00:41:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:25 MST