Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

move alloc callback to uv_tcp_init() #47

Closed
ry opened this issue May 22, 2011 · 2 comments
Closed

move alloc callback to uv_tcp_init() #47

ry opened this issue May 22, 2011 · 2 comments
Labels

Comments

@ry
Copy link
Contributor

ry commented May 22, 2011

it's annoying to have to specify a alloc callback for programs where you may never open a tcp socket.

@piscisaureus
Copy link

Well you could set it to NULL in that case. Or we could use uv_set_alloc() and default to a dumb malloc allocator.

@ry
Copy link
Contributor Author

ry commented May 24, 2011

can't have a default allocator because we'd still be relying on the user to free the buffers

@ry ry closed this as completed in 7770b1a Jun 3, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants