Skip to main content

Timeline for Pset6 server.c, 301 rederect error

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Apr 13, 2017 at 12:50 history edited CommunityBot
replaced http://cs50.stackexchange.com/ with https://cs50.stackexchange.com/
Mar 31, 2016 at 19:28 comment added Bogricia Will do, I will keep them easy to read from now on. I'm new here, thanks for your patience.
Mar 31, 2016 at 19:13 comment added DinoCoderSaurus Bogricia, Please open a new question for indexes. This one is pretty hard to follow already. And restore the old "edit", otherwise the answers have absolutely no context. Thanks.
Mar 31, 2016 at 19:10 comment added Bogricia I posted my indexes function, i cant see the problem here.
Mar 31, 2016 at 18:56 comment added DinoCoderSaurus Almost time to celebrate!
Mar 31, 2016 at 18:44 vote accept Bogricia
Mar 31, 2016 at 18:44 comment added Bogricia Hey Dino, I think I have parse working now. It seems to be returning the correct abs_path and query. Thank you so much for your help. I have now come across another invalid pointer error in my indexes function. Trying to correct that now.
Mar 31, 2016 at 17:18 history edited DinoCoderSaurus CC BY-SA 3.0
more additional code.=> more additional answers
Mar 31, 2016 at 16:30 comment added Bogricia I also tried adding +1 to all the strlens, and removing them from the line that adds null terms like this
Mar 30, 2016 at 23:18 history edited DinoCoderSaurus CC BY-SA 3.0
additions based on update question
Mar 30, 2016 at 21:34 comment added Bogricia Thanks for the help. I think im narrowing it down. I pulled the function out and wrote a program to test it. It seems to be working great. Then i insert it back into server.c and when i run it i get this error: Using /home/ubuntu/workspace/pset6/public for server's root Listening on port 8080 GET / HTTP/1.1 / *** Error in `./server': munmap_chunk(): invalid pointer: 0x0000000000f6b240 *** Aborted
Mar 30, 2016 at 19:13 history answered DinoCoderSaurus CC BY-SA 3.0