Commit report for v3.1.x branch

The git bot announce at freeradius.org
Mon Jun 29 00:00:04 CEST 2015


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
Doxygen

Arran Cudbard-Bell at 2015-06-28T03:11:27Z
Files modified:
	* src/main/connection.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/36e1b02e926df5cd75d4d548694401535c607ca9
====== 
Support modifying the opaque data used by a pool on reconnect

If a reconnect callback is registered

1. Lock the pool.
2. Block threads attempting to spawn new connections.
3. Wait until all pending spawn attempts have finished.
4. Close pool->start connections (ensures we have room to open new connections).
5. Mark all remaining connections as requiring reconnection.
6. Call reconnect callback.
7. Open pool->start connections.

Old connections will be cleaned up and reconnected over time.

fr_connection_pool_reconnect is thread safe.

Arran Cudbard-Bell at 2015-06-28T02:30:39Z
Files modified:
	* src/include/connection.h
	* src/main/connection.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/eef7fff56d39d46e2b82d271717d5d5ac24c1807
====== 
Don't reconnect connections, destroy the old one and get a new one

The old reconnect code didn't release the mutex whilst spawning a new connection, presumably to keep the pool in a consistent state.

This would have weird and annoying side effects. It's simpler just to close the connection and either get another existing one or spawn a new one.

The reduction in complexity is worth the small performance penalty of allocating a new connection structure, and linking it into the pool.

Arran Cudbard-Bell at 2015-06-28T01:54:36Z
Files modified:
	* src/main/connection.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ec6425461458685ba8435c22d63d6791a6bf886b
====== 
Destroy pool mutex on free

Arran Cudbard-Bell at 2015-06-28T01:54:36Z
Files modified:
	* src/main/connection.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c85867725efe11d89d21ea9c09f7bea47e3d9bd1
====== 
Note

Arran Cudbard-Bell at 2015-06-28T01:54:36Z
Files modified:
	* src/main/connection.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5d78a354d4880378df4256831e71ff9eb5275388
====== 
-- 
This commit summary was generated @2015-06-29T00:00:04Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list