mirror of https://github.com/aria2/aria2
pull/1/head
parent
0411de9271
commit
b72c6805e4
|
@ -26,6 +26,8 @@
|
||||||
#include "HttpInitiateConnectionCommand.h"
|
#include "HttpInitiateConnectionCommand.h"
|
||||||
#include "message.h"
|
#include "message.h"
|
||||||
#include "Util.h"
|
#include "Util.h"
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
HttpResponseCommand::HttpResponseCommand(int cuid, Request* req, DownloadEngine* e, const Socket* s):
|
HttpResponseCommand::HttpResponseCommand(int cuid, Request* req, DownloadEngine* e, const Socket* s):
|
||||||
AbstractCommand(cuid, req, e, s) {
|
AbstractCommand(cuid, req, e, s) {
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#define PEER_ID_LENGTH 20
|
#define PEER_ID_LENGTH 20
|
||||||
#define DEFAULT_LATENCY 1000
|
#define DEFAULT_LATENCY 1500
|
||||||
|
|
||||||
class Peer {
|
class Peer {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue