Fusion level00
After more than half a month to complete the Protostar, rest for a few days, continue to do Fusion.
* beside the point *
When I was in college, I was struggling with whether to choose the programmer's path, but I gave up because of the discomfort caused by writing code for a long time and heavy load. I had to praise the kind of feel when I adjusted a BUG. Nowadays, there is also this kind of feel~~~~ when a problem is completed.
* end of digression *
Level00 source code:
# include ".. / common/common.c" int fix_path (char * path) {char resolved [128]; if (realpath (path, resolved) = = NULL) return 1; / / can't access path. Will error trying to open strcpy (path, resolved);} char * parse_http_request () {char buffer [1024]; char * path; char * Q; printf ("[debug] buffer is at 0xx: -)\ n", buffer); if (read (0, buffer, sizeof (buffer)