Archived
1
0
This commit is contained in:
Jeff Becker 2017-05-03 13:44:35 -04:00
parent e4a9db3f11
commit 37598e187d
3 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,4 @@
#include "line.hpp" #include "line.hpp"
#include <iostream>
namespace nntpchan { namespace nntpchan {

View File

@ -59,7 +59,6 @@ namespace nntpchan
if(end) if(end)
{ {
std::size_t diff = end - data ; std::size_t diff = end - data ;
std::cerr << diff << std::endl;
if(m_article) if(m_article)
m_article->write(data, diff); m_article->write(data, diff);
ArticleObtained(); ArticleObtained();
@ -71,7 +70,6 @@ namespace nntpchan
if(end) if(end)
{ {
std::size_t diff = end - data ; std::size_t diff = end - data ;
std::cerr << diff << std::endl;
if(m_article) if(m_article)
m_article->write(data, diff); m_article->write(data, diff);
ArticleObtained(); ArticleObtained();

View File

@ -56,7 +56,7 @@ namespace nntpchan
uv_loop_t * m_loop; uv_loop_t * m_loop;
Server * m_parent; Server * m_parent;
IConnHandler * m_handler; IConnHandler * m_handler;
char m_readbuff[4096]; char m_readbuff[65536];
}; };
class Server class Server