genode/gems/src/server/http_block
2012-01-03 15:35:05 +01:00
..
http.cc Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
http.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
main.cc Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
README Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
target.mk Imported Genode release 11.11 2011-12-22 16:19:25 +01:00

This directory contains a HTTP client that implements Genode's block session
interface as a front-end. This way you can incorporate arbitrary files via.
HTTP requests and export them as a block device within Genode.


Usage
-----

Config file snippet:

!<start name="http_blkdrv">
!  <resource name="RAM" quantum="1M" />
!  <provides><service name="Block"/></provides> <!-- Mandatory -->
!  <config>
!
!    <!-- File to export as a block device.
!         Syntax:'http:://<host>[:port]/<path to file>' -->
!    <uri>http://kc86.genode.labs:80/file.iso</uri> 
!
!    <!- The block size of the exported block device. This is optional, the
!        default is 512 bytes. -->
!    <block-size>2048</block-size> 
!
!  </config>
!</start>