1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00
This commit is contained in:
lxsang 2020-01-08 22:35:58 +01:00
parent 189120bd88
commit 1af2945af0

View File

@ -456,14 +456,7 @@ int antd_send(void *src, const void* data_in, int len_in)
#ifdef USE_OPENSSL
}
#endif
/*if(ret <= 0)
{
antd_close(src);
}*/
#ifdef USE_ZLIB
if(source->zstream && source->z_level != ANTD_CNONE && data)
free(data);
#endif
return written;
}
int antd_recv(void *src, void* data, int len)