comparison seobeo/s_linux_network.c @ 22:947b81010aba

[Dowa & Seobeo] Updated so that Dowa hashmaps can use arena and not be broken. Split up web so taht it can handle different paths. Also fixes issues with hash collisions which was pain in the ass.
author June Park <parkjune1995@gmail.com>
date Tue, 07 Oct 2025 07:11:02 -0700
parents 875bb6e10db7
children c0f6c8c7829f
comparison
equal deleted inserted replaced
21:09def63429b9 22:947b81010aba
296 if (n < 0) 296 if (n < 0)
297 { 297 {
298 if (errno == EINTR || errno == EAGAIN) 298 if (errno == EINTR || errno == EAGAIN)
299 { 299 {
300 // DEBUG 300 // DEBUG
301 printf("Partial write, returning early (offset=%d)\n", offset); 301 // printf("Partial write, returning early (offset=%d)\n", offset);
302 continue; 302 continue;
303 } 303 }
304 if (errno == EAGAIN) return 1; 304 if (errno == EAGAIN) return 1;
305 return -1; 305 return -1;
306 } 306 }