WAFer icon indicating copy to clipboard operation
WAFer copied to clipboard

WAFer is a C language-based software platform for scalable server-side and networking applications. Think node.js for C programmers.

Results 19 WAFer issues
Sort by recently updated
recently updated
newest added

Would you like to add more error handling for return values from functions like the following? - [pthread_mutex_init](http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_init.html) ⇒ [initialize_threads](https://github.com/riolet/WAFer/blob/97dd90f6c081c80bdfc3bb6ad64c8e5fca026322/wafer.c#L387) - [strdup](http://pubs.opengroup.org/onlinepubs/9699919799/functions/strdup.html) ⇒ [getQueryPath](https://github.com/riolet/WAFer/blob/b5dff20f95ce7e9dc5b857c7160533d149965864/waferapi.c#L228)

> WAFer is: ultra-light ... wafer-thin Can you be more specific in the README? We would like to see approximate LOC, size in memory, size on disk. (compared with node.js...

notify_parent() is not used in your curent version and timespec is not used too. Could you clean this up? The way you called getnameinfo without checking its failure mode is...

I was a bit confused while going through your code particularly when I noticed that socket used "AF-Unix" . Why using it? I also noticed that now you have epoll,...

I carried out a load test for nope example. ``` bash ./wrk -t1 -c1 -d10s http://localhost:4242/factor ``` The config is: NOPE_EPOLL, NOPE_THREAD 2 The bug looks like this: ``` bash...

Let's have a brief discussion about nope.c architecture. What I have in mind for nope.c is a layered architecture that embodies the Unix philosophy with three main strata: 1. The...

question

file nope.c: line 90 and line 92 repeated? line 108 and line 110 repeated?

On OS X, building nope.c fails for me with: ``` > make gcc -W -Wall -O2 -c -o nope.o nope.c nope.c:13:10: fatal error: 'sys/sendfile.h' file not found #include ^ 1...

Now in nope.c, send function is called without checking whether the kernel send buffer is enough using select. For example, there are 100 active clients, we need to send 1k...

In nope.c, buffer is used everywhere, I think we may need a automatically expandable buffer, which could automatically expand the memory space when add or copy data into the buffer....