@@ -26,6 +26,8 @@
#include "HttpInitiateConnectionCommand.h"
#include "message.h"
#include "Util.h"
+#include <sys/types.h>
+#include <unistd.h>
HttpResponseCommand::HttpResponseCommand(int cuid, Request* req, DownloadEngine* e, const Socket* s):
AbstractCommand(cuid, req, e, s) {
@@ -30,7 +30,7 @@
using namespace std;
#define PEER_ID_LENGTH 20
-#define DEFAULT_LATENCY 1000
+#define DEFAULT_LATENCY 1500
class Peer {
public: