# | Line 175 | Line 175 | string Daemon::date(bool log) | |
---|---|---|
175 | ||
176 | int Daemon::handle(Client* client) | |
177 | { | |
178 | < | ios::InputOutputStreamBufAdapter adapter(client->socket); |
179 | < | iostream sio(&adapter); |
178 | > | ios::ToIoStream sio(&client->socket, &client->socket); |
179 | Environment env; | |
180 | stringstream post; | |
181 | ostringstream log; | |
# | Line 222 | Line 221 | int Daemon::handle(Client* client) | |
221 | client->socket.ShutdownWrite(); | |
222 | ||
223 | delete client; | |
224 | + | |
225 | + | return 0; |
226 | } | |
227 | ||
228 | void Daemon::headers(istream& sin, Environment& env) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |