I'm struggling to figure out what is wrong with my code. I'm getting a seg fault at the end of my parse function where I am freeing memory.
It fails this in check50:
:( Requesting non-existant file returns error code 404 \ expected output, not standard error of "======= Backtrace: =========\n======= M..."
:( Requesting request-target with " returns error code 400 \ expected output, but not "HTTP/1.1 405 Method Not Allowed\r\nCont..."
I don't understand why this is happening, can someone please look at my code to try and help?