skypjack / uvw

Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
MIT License
1.82k stars 207 forks source link

Provide custom read buffer allocators for handle objects #290

Closed MasterLogick closed 1 year ago

MasterLogick commented 1 year ago

This pull request replaces details::common_alloc_callback by adding allocator field in handle objects, that is called as uv_alloc_cb in uv_udp_recv_start or uv_recv_start. #289 #267