Minor fix
This commit is contained in:
parent
0acc7455f8
commit
6c85e3b739
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ int main() {
|
||||||
size_t read_length;
|
size_t read_length;
|
||||||
while((read_length=ifs.read(&buffer[0], buffer_size).gcount())>0) {
|
while((read_length=ifs.read(&buffer[0], buffer_size).gcount())>0) {
|
||||||
ss.write(&buffer[0], read_length);
|
ss.write(&buffer[0], read_length);
|
||||||
response << ss.rdbuf() << HttpServer::flush;
|
response << ss.rdbuf() << HttpsServer::flush;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue