[mirrorbrain-commits] [mod_asn] r76 - in /trunk: docs/changes.rst mod_asn.c

From: <poeml_at_mirrorbrain.org>
Date: Fri, 26 Mar 2010 23:11:42 -0000
Author: poeml
Date: Sat Mar 27 00:11:41 2010
New Revision: 76

URL: http://svn.mirrorbrain.org/viewvc/mod_asn?rev=76&view=rev
Log:
mod_asn:
- version should actually be 1.4, not 1.5. It was already bumped.
docs/changes:
- write release notes for 1.4.

Modified:
    trunk/docs/changes.rst
    trunk/mod_asn.c

Modified: trunk/docs/changes.rst
URL: http://svn.mirrorbrain.org/viewvc/mod_asn/trunk/docs/changes.rst?rev=76&r1=75&r2=76&view=diff
==============================================================================
--- trunk/docs/changes.rst (original)
+++ trunk/docs/changes.rst Sat Mar 27 00:11:41 2010
_at_@ -1,6 +1,42 @@
 
 Release Notes/Change History
 ============================
+
+Release 1.4 (Mar 27, 2010)
+--------------------------
+
+This release does not bring about significant user-visible changes, but under
+the hood, some optimizations were done.
+
+* For more efficient database connection usage, mod_asn now closes the used
+  connection when its handler quits. Before, a connection with lifetime of the
+  request was acquired; if a long-running handler runs after mod_asn, this
+  could mean that the connection is blocked for other threads until the end of
+  the request. This could occur, for instance, when mod_mirrorbrain ran later,
+  but exited early because a file was supposed to be delivered directly.
+  This was tracked in `issue 44`_.
+
+* Database errors from the lower DBD layer are now resolved to strings, where
+  available. In relation to this: if an IP address is not found it isn't
+  necessarily an error, because it could be a private IP, for instance, which
+  is never present in global routing tables. That case is now logged with
+  NOTICE log level.
+
+* When compiling mod_asn with the Apache Portable Runtime 1.2, different
+  semantics are used to access database rows, couting from 0 instead of from 1. It
+  seemed to work either way (maybe because only a single row is accessed), but
+  hopefully now it is done more correctly and therefore safer in the future.
+  See `issue 29`_ and `issue 7`_ for the context.
+
+
+* In the documentation, the support scripts are now mentioned without their
+  :file:`.py` suffix in the example for data import, which might be less
+  confusing.
+
+.. _`issue 44`: http://mirrorbrain.org/issues/issue44
+.. _`issue 29`: http://mirrorbrain.org/issues/issue29
+.. _`issue 7`: http://mirrorbrain.org/issues/issue7
+
 
 Release 1.3 (Jul 30, 2009)
 --------------------------

Modified: trunk/mod_asn.c
URL: http://svn.mirrorbrain.org/viewvc/mod_asn/trunk/mod_asn.c?rev=76&r1=75&r2=76&view=diff
==============================================================================
--- trunk/mod_asn.c (original)
+++ trunk/mod_asn.c Sat Mar 27 00:11:41 2010
_at_@ -46,7 +46,7 @@
 #define UNSET (-1)
 #endif
 
-#define MOD_ASN_VER "1.5"
+#define MOD_ASN_VER "1.4"
 #define VERSION_COMPONENT "mod_asn/"MOD_ASN_VER
 
 /* from ssl/ssl_engine_config.c */




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Fri Mar 26 2010 - 23:11:44 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT