mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 12:52:51 +00:00
send buffer offset
This commit is contained in:
1 parent
b6e0fdf920
commit
e866243097
2 files changed
+4
-2
No files matched your search
+2
-2
@@ -545,9 +545,9 @@ namespace util
|
||||
{
|
||||
std::string content ("");
|
||||
content += "<html>" + HTTPConnection::itoopieImage + "</html>";
|
||||
std::string response ("HTTP/1.0 200 OK\r\n\r\n");
|
||||
std::string response ("HTTP/1.0 200 OK\r\n");
|
||||
response += "Content-Length: " + boost::lexical_cast<std::string>(content.length()) + "\r\n";
|
||||
response += "Content-Type: text/html\r\n";
|
||||
response += "Content-Type: text/html\r\n\r\n";
|
||||
response += content;
|
||||
m_Stream->Send ((uint8_t *)response.c_str (), response.length (), 30);
|
||||
m_Stream->Close ();
|
||||
|
||||
Reference in new issue
Block a user