Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

PSET6 Server - fails the request two files in a row check

My server fails the last check in check50-server2 - "request two files in a row" Because it only fails that test I'm assuming the problem is somewhere in the parse or lookup functions. Valgrind shows ...
lyric enav's user avatar
1 vote
2 answers
82 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, ...
chsher's user avatar
  • 11
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 ...
Daniel P.'s user avatar
0 votes
1 answer
67 views

Pset6 - check50 missing cat.exe and non-existant file request

I've been checking similar questions about the problem I'm having but couldn't solve it myself. Help would be really appreciated. After implementing lookup and parse and running check50 I'm receiving ...
Mateo's user avatar
  • 9
0 votes
1 answer
103 views

pset6 2 errors with parse and lookup [duplicate]

i been stuck with these 2 errors for days which i don't really know what causes them..tried debugging parse and as far as i can tell abs_path is working as it should(although i'm not sure it's written ...
Ahmed Fahmy's user avatar
0 votes
1 answer
282 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 ...
Mahmoud Khaled's user avatar
0 votes
1 answer
70 views

Why Pset6 check cat.exe and non-existant file going wrong?

:( Requesting cat.exe returns error code 501 \ expected output, not an exit code of 0 :( Requesting non-existant file returns error code 404 \ expected output, not an exit code of 0 code for ...
Vinz.R's user avatar
  • 39
0 votes
1 answer
95 views

PSET6 check50 server1 cat.exe and non-existant file return error 505

So, i have looked everywhere for the answer to why my program returns error 505 for cat.exe and non-existant file. I have tested isolating the two functions but they work fine outside of the main ...
Maninder.S's user avatar
0 votes
1 answer
201 views

Pset6 server.c Error 403

server.c is giving error(403) inside transfer function (written by default) lookup function : const char* lookup(const char* path) { char* s=(char*)calloc(20,1); strcpy(s,""); char *...
Salil Jain's user avatar
0 votes
1 answer
147 views

first version of check50 not working pset6

I have almost completed lookup() and parse() function but check50(version 1) shows :( in 2 cases. Below is my check50 result. :) server.c exists :) server compiles :) HTTP/1.0 returns error code 505 :...
Salil Jain's user avatar
0 votes
1 answer
153 views

check50 is returning errors on pset6 but if I search the pages on browser all of the pages work [duplicate]

I am running check50 and get these errors: :) server.c exists :) server compiles :( Requesting cat.jpg returns 200, image/jpeg, and correct image :( Requesting cat.html returns 200, text/html, and ...
S.L.Blom's user avatar