Scott Wallace
c3f68eec09
Merge pull request #5 from scottwallacesh/apache24
...
Apache24
2014-10-18 18:49:07 +01:00
Scott Wallace
d71a0abede
Detect if the Apache conn_rec
structure uses client_ip
and uses it accordingly.
...
Fallback is the original `conn_rec->remote_ip`.
2014-10-18 18:44:34 +01:00
Scott Wallace
d5bc945bc3
Ensure that the Apache logging is also v2.4 compatible
2014-10-18 12:22:22 +01:00
Scott Wallace
40e1de52e5
Rename conn_rec->remote_ip
to conn_rec->client_ip
...
Apache v2.4 has changed the conn_rec record structure (see, http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html )
2014-10-18 11:30:15 +01:00
Scott Wallace
d15d887a7f
Code tidy to ensure it complies with the Python coding standard (10/10 from PyLint).
2014-09-07 20:08:30 +01:00
Scott Wallace
2244ac497d
Code tidy to ensure it complies with the Python coding standard (10/10 from PyLint).
2014-09-07 20:07:26 +01:00
Scott Wallace
97cfd2ca5d
Code tidy to ensure it complies with the Python coding standard (10/10 from PyLint).
2014-09-07 19:58:35 +01:00
Scott Wallace
e5df7f77f7
Code tidy to ensure it complies with the Python coding standard (10/10 from PyLint).
2014-09-07 19:57:10 +01:00
Scott Wallace
0a519009e3
Merge pull request #3 from bitdeli-chef/master
...
Add a Bitdeli Badge to README
2014-01-25 09:32:49 -08:00
Bitdeli Chef
3e26ab6d49
Add a Bitdeli badge to README
2014-01-25 17:32:44 +00:00
Scott Wallace
0afaac6633
Updates for PEP8.
2013-07-13 08:47:15 +01:00
Scott Wallace
396501a0f4
Updates for PEP8.
2013-07-13 08:44:35 +01:00
Scott Wallace
dfc8e231af
Small change to the cache file handling.
2013-07-13 08:25:41 +01:00
Scott Wallace
8a878cea62
Updates for PEP8.
2013-07-13 08:21:09 +01:00
Scott Wallace
d58959b834
Update README.md
...
Used Markdown to make the instructions more readable.
2013-06-25 18:49:33 +02:00
Scott Wallace
5f3dbc4e5a
Update and rename README to README.md
2013-06-25 17:54:36 +02:00
Scott Wallace
3e54c5ff97
Renamed README to README.md and added a Flattr button.
2013-01-31 15:52:59 +00:00
Scott Wallace
5b5aad08cb
Fix possible SEGVs by changing the nByte parameter of sqlite3_prepare_v2().
...
Segmentation Faults reported and observed under high traffic. For some reason this is a previously seen issue with the nBytes parameter of sqlite3_prepare_v2(). Not sure why, but it seems to fix the issue.
2012-12-19 15:27:41 +00:00
Scott Wallace
af891a04d3
Changed the SQLite3 error handling due to possible SegFault and invalid pointer messages in Apache.
2012-11-20 14:53:18 +00:00
Scott Wallace
ce22093fd4
Removed cookie checking for Varnish -- deprecated.
2012-11-08 14:10:54 +00:00
Scott Wallace
5ce554fc48
Removed cookie checking -- deprecated.
...
Added better NULL input handling.
Altered the logging levels for blocklist matches and module initialisation.
2012-11-08 14:03:38 +00:00
Scott Wallace
0ba358639f
Added extra-safe checking with Varnish due to threading-oddities. Thanks to Mike Wallis.
2012-11-08 13:57:29 +00:00
Scott Wallace
8f6a30afba
Updated the Blockinator code to avoid using fcntl() on NFS. No file-locking is required when opening the file in read-only mode.
2012-08-29 10:50:08 +01:00
Scott Wallace
b6aa85cf7a
Initial code commit.
2012-05-21 19:08:04 +01:00