Skip to content

Instantly share code, notes, and snippets.

View V-Alexeev's full-sized avatar

Vasily Alexeev V-Alexeev

View GitHub Profile
@V-Alexeev
V-Alexeev / sams2.patch
Last active October 22, 2017 11:55
Patch for SAMS2 and Squid >= 3.2 (incomplete)
Index: src/samsredir.cpp
===================================================================
--- src/samsredir.cpp (revision 979)
+++ src/samsredir.cpp (working copy)
@@ -241,7 +241,7 @@
{
INFO ("Reason: Invalid fields count: " << fields.size());
INFO ("Output: " << line);
- cout << line << endl << flush;
+ cout << "ERR" << endl << flush;