[Olsr-dev] Make the socket parser more general

Hannes Gredler (spam-protected)
Tue Oct 7 10:46:10 CEST 2008


On Tue, Oct 07, 2008 at 02:35:56AM +0200, Bernd Petrovitsch wrote:
| The next steps:
| - actually register a file descriptor for the new select() and make it
|   work (as it hasn't been even tested yet).
|   Some plugins like txtinfo or httpinfo are IMHO good candidates for
|   this as they have no business with the "pollrate".
| - look into the users in the core and see if it makes sense to move them
|   in that direction.
| - convert plugins
| 
| The relevant patches are from "Cleanup socket_parser.[ch]" to "Cleanup
| net_olsr.[ch]". These have been (successfully) tested on Linux and
| Win32.
| So there may be problems in the BSD world but review, testing,
| improvements, ... are always welcome, of course.
| 
| 	Bernd
| 
| [0]: I didn't push it in Hannes' repo as I don't know ATM what's the
|      release plans and the above is a somewhat larger change some will
|      consider too risky ATM. Other than that I see no reason to not do
|      it.

hi bernd,

your changes really look good. - as soon you have the rework for the http_info
and txinfo plugin ready feel free to merge/commit to get devevelopment repository.
at http://gredler.at/hg/olsrd/ (its a development repository anyway, so we can
start to do some testing and gets our hands on). no worrie about the
stability: after the release of 0.5.6 i have forked olsrd and created a "stable"
repo where only bugfixes go into. http://gredler.at/hg/olsrd-0.5.6

/hannes




More information about the Olsr-dev mailing list