News/2013/05

2023-06-27 09:02 UTC

Update

Created 2013-05-14
Last Modified 2013-05-14 21:44 UTC
Archive Link https://xyne.dev/news/2013/05

Threaded Servers

The python2-xynehttpserver and all packages that depend on it except Voracious1 have finally been rewritten in Python 3. The code is now fully modularized and various technical errors have been corrected, such as support for returning multiple ranges of a file via HTTP.

The new package is python3-threaded_servers. This package provides a Python 3 package with hierarchical server classes and page generator classes for creating custom servers. Quickserve and Pacserve are now implemented as classes in this module. I recommend that you take a look at the Quickserve page in particular to get an idea of the capabilities of this new package. Among other things, it supports automatic peer detection with merged directory views and automatic redirection for creating peer-to-peer file-sharing networks. The code is easily extensible and will likely grow to include new features for this purpose in the future.


  1. It’s on my todo list.↩︎

Contact
echo xyne.archlinux.org | sed 's/\./@/'
Validation
XHTML 1.0 Strict CSS level 3 Atom 1.0