Hi Lukas,
Sorry for the late response.
Please find attached a minimalistic example.
1> prim_sendfile:start().
and try:
curl
http://127.0.0.1:8080/
Nothing happens.
What am I doing wrong?
If I use the standard gen_tcp:accept/1, gen_tcp:recv/2, gen_tcp:send/2 on the socket, sendfile works as expected.
But not with a socket handled by prim_inet. Why?
Thanks for your help.
Regards,
Zabrane