more
This commit is contained in:
parent
e4a9db3f11
commit
37598e187d
@ -1,5 +1,4 @@
|
|||||||
#include "line.hpp"
|
#include "line.hpp"
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
namespace nntpchan {
|
namespace nntpchan {
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user