ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/http.ext
(Generate patch)

Comparing deliantra/server/ext/http.ext (file contents):
Revision 1.6 by root, Tue Oct 30 19:25:24 2012 UTC vs.
Revision 1.7 by root, Tue Oct 30 20:46:58 2012 UTC

50 50
51 if ($uri =~ m%^/([0-9a-f]+)$%) { # faces 51 if ($uri =~ m%^/([0-9a-f]+)$%) { # faces
52 my $idx = $cf::FACEHASH{pack "H*", $1}; 52 my $idx = $cf::FACEHASH{pack "H*", $1};
53 53
54 $idx 54 $idx
55 or return $self->respond ("404 illegal face name"); 55 or do { $self->respond ("404 illegal face name"), next };
56 56
57 if ($req =~ /if-none-match/i) { # dirtiest hack evar 57 if ($req =~ /if-none-match/i) { # dirtiest hack evar
58 $self->respond ("304 not modified", "", $cache_headers); 58 $self->respond ("304 not modified", "", $cache_headers);
59 return; 59 next;
60 } 60 }
61 61
62 my $type = cf::face::get_type $idx, 1; 62 my $type = cf::face::get_type $idx, 1;
63 63
64 if ($type & 1) { 64 if ($type & 1) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines