lp:~johnlm/+junk/kwiva-nix
A very simple web-server with very quick setup for short-term file sharing over HTTP protocol.
Main goal is to facilitate file transfer over LAN (or Internet) with minimal time-to-transfer setup and no extra custom software for the client. (No nasty samba shares or the like)
This is NOT meant as a proper long-term web-server and has no configuration (short of shared file list) nor any features not strictly required for file transfer.
- Get this branch:
- bzr branch lp:~johnlm/+junk/kwiva-nix
Branch information
- Owner:
- JohnLM
- Status:
- Mature
Recent revisions
- 3. By JohnLM
-
- Added the HTML index upon requesting root resource "/"
+ Function prepareList() written for creating the index page
+ Function written for transcoding filenames in XML (TESTME!)
- HTTP 404 response is now reusable (as is the HTML resource list)
- Made the algorithms more generic, unaware of argc/argv layout
(instad pass them with proper offset)
- Replaced struct arglist with srtuct datahandle containing
reusable responses as well - 2. By JohnLM
-
The revision on Hackaton ending. Some post-Hackaton clean-up done as well.
- Removed unused example code
- Defined 'struct response' for handling both FDs and filesizes
- Requested file is now stat()ed for type and size upon request
- Added an 'install' target in makefile
- FIX: "Single file bug" fixed. Multiple files can now be shared properly.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)