Linked Questions
38 questions linked to/from Pset6 problem in indexes and load function
0
votes
1
answer
944
views
Debugging Webserver in C
I have an error in my server.c file for PSET6 but have no idea how to find it. I am trying to use GDB and it does not seem to be very useful.
I would love some help learning how to better debug this ...
0
votes
1
answer
281
views
Problem with check50 for server1
I know that when lookup returns NULL when called, error 501 should appear and that's what I did in lookup's implementation. If the extension of the file is none of the ones mentioned in the pset's ...
1
vote
1
answer
274
views
Help with pset6 parse function
I am having trouble with the pset6 parse function. I used check50 after implementing parse, and everything checks out except I get these two errors:
:( HTTP/1.0 returns error code 505
\ expected ...
1
vote
1
answer
94
views
Pset6 load returns length zero for php files
First time posting so if I'm off the mark here let me know.
Basically, in writing server.c I can't figure out how to test my load function now that I've written it. check50 will only work once I've ...
0
votes
1
answer
186
views
pset6 server.c check50 backtrace error
Working on this problem set for many days, but now couldn't identify in which function lies the issue. Using check50 2015.fall.pset6.server2 server.c I get the following output :
~/workspace/pset6 $ ...
1
vote
2
answers
127
views
pset6 server fails check50
I can't find why this doesn't work, can someon help me? Thanks.
My code fails the following in check50 server1:
:( Requesting cat.exe returns error code 501
\ expected output, but not "HTTP/1.1 ...
0
votes
1
answer
133
views
CS50 pset 6 server - I think something's wrong with my load function
EDIT: Fixed some more stuff, but remain stuck. Will continue troubleshooting, but would still appreciate input :)
New code here: http://pastebin.com/gQyqPx99
Hello! I'm really stuck on pset6 server, ...
0
votes
1
answer
97
views
Getting some errors in server.c pset 6. Don't know what to do,Pls help
:) server.c exists
:) server compiles
:( Requesting cat.jpg returns 200, image/jpeg, and correct image
:) Requesting cat.html returns 200, text/html, and correct file
:( Requesting ...
0
votes
1
answer
119
views
PSET6 Server.c cat.exe parse error with check50
I am running through the first half of PSET6 and have everything in check50 green other than the cat.exe section:
:( Requesting cat.exe returns error code 501
\ expected output, but not "HTTP/1.1 ...
0
votes
1
answer
85
views
Please help, stuck on pset6 first test
I have been stuck on pset6 for almost a month now and I've tried everything to debug it but I absolutely cannot find what I'm doing wrong... It's probably because I've looked through it so many time ...
0
votes
1
answer
83
views
error in load and indexes function
I can't seem to find a problem in my load and indexes function. I need help asap. PS- my lookup and parse functions show all green ticks on check50
char* indexes(const char* path)
{
// TODO
...
0
votes
1
answer
135
views
Pset 6 load and index, totally confused
When i run my code i get a error proxy could not be processed request. During check50 2 everything is red with no reason as to why, I am thinking its a seg fault but valgrind didn't give one. Honestly,...
0
votes
1
answer
134
views
CS50 pset6 check50 errors
I have completed my first draft of pset6 web server and I have used valgrind to check my program for memory leaks of which there seem to be none.
However, when I ran my server.c file through check50 I ...
1
vote
2
answers
79
views
Pset6 check50 server1 parse error
I am having trouble addressing the below two errors when I run the first check50 of pset6.
check50 2015.fall.pset6.server1 server.c
:( Requesting cat.exe returns error code 501
\ expected output, ...
1
vote
1
answer
78
views
PSET6 - server.c, trouble with parse
I thought my parse() function was looking pretty good, but I keep consistently getting the same check50 (server1) error:
:( Requesting non-existant file returns error code 404
\ expected output, ...