more
This commit is contained in:
parent
e4a9db3f11
commit
37598e187d
@ -1,5 +1,4 @@
|
||||
#include "line.hpp"
|
||||
#include <iostream>
|
||||
|
||||
namespace nntpchan {
|
||||
|
||||
|
@ -59,7 +59,6 @@ namespace nntpchan
|
||||
if(end)
|
||||
{
|
||||
std::size_t diff = end - data ;
|
||||
std::cerr << diff << std::endl;
|
||||
if(m_article)
|
||||
m_article->write(data, diff);
|
||||
ArticleObtained();
|
||||
@ -71,7 +70,6 @@ namespace nntpchan
|
||||
if(end)
|
||||
{
|
||||
std::size_t diff = end - data ;
|
||||
std::cerr << diff << std::endl;
|
||||
if(m_article)
|
||||
m_article->write(data, diff);
|
||||
ArticleObtained();
|
||||
|
@ -56,7 +56,7 @@ namespace nntpchan
|
||||
uv_loop_t * m_loop;
|
||||
Server * m_parent;
|
||||
IConnHandler * m_handler;
|
||||
char m_readbuff[4096];
|
||||
char m_readbuff[65536];
|
||||
};
|
||||
|
||||
class Server
|
||||
|
Reference in New Issue
Block a user