HTTP: Set clen correctly when serving gmap.html.
This commit is contained in:
parent
a583615b66
commit
42eb990685
@ -1854,6 +1854,7 @@ void handleHTTPRequest(struct client *c) {
|
||||
{
|
||||
content = malloc(sbuf.st_size);
|
||||
read(fd,content,sbuf.st_size);
|
||||
clen = sbuf.st_size;
|
||||
} else {
|
||||
char buf[128];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user