summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/HttpServ.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/HttpServ.cc b/lib/HttpServ.cc
index b4669ad..e1ddd73 100644
--- a/lib/HttpServ.cc
+++ b/lib/HttpServ.cc
@@ -125,7 +125,7 @@ int ProcessRequest::Do() {
ParseVars(&b, len);
}
-// cerr << " Domain = '" << domain << "' - File = '" << file << "'\n";
+ cerr << " Domain = '" << domain << "' - File = '" << file << "'\n";
if (!bad) {
// Nous vérifions le domaine.
@@ -136,7 +136,7 @@ int ProcessRequest::Do() {
if (domain == "/bin") bad = false;
if (domain == "/") bad = false;
if (bad) {
-// cerr << "Error: bad domain.\n";
+ cerr << "Error: bad domain.\n";
}
} else {
// L'url sans domaine ni fichier est valide. (cela arrive sur certains navigateurs...)
@@ -170,11 +170,11 @@ int ProcessRequest::Do() {
SendHeads(&b, GetMime(file), String("Accept-Ranges: bytes") + endhl + "Content-Length: " + (unsigned long long int) i->GetSize() + endhl, i->GetModif());
i->SetNonBlock();
a = new CopyJob(i, &s);
-// cerr << "File found, dumping.\n";
+ cerr << "File found, dumping.\n";
}
catch (IOGeneral e) {
ShowError(&b);
-// cerr << "File not found, error showed.\n";
+ cerr << "File not found, error showed.\n";
}
}
}
@@ -274,7 +274,7 @@ bool ProcessRequest::ParseUri(String & file, String & domain, String & gvars, Ha
ssize_t sppos;
*s >> t;
-// cerr << "Read Request (1): " << t << endl;
+ cerr << "Read Request (1): " << t << endl;
int IPos = t.strchr('?');