uhlitz / dallianceR

genome browsing with dalliance
2 stars 2 forks source link

Add http server with range request functionality #5

Open frenkiboy opened 9 years ago

rekado commented 9 years ago

It seems to me that this is best done in servr.

When I find some time I'll try to write a patch for this file and submit it upstream as it seems to be generally useful.

rekado commented 8 years ago

See https://github.com/yihui/servr/pull/21

Once this patch is accepted, it will be enough to just run httd() instead of spawning a separate HTTP server. Note that httd() is blocking, so we'd need to find a way to run it in a separate thread or similar.

yihui commented 8 years ago

Accepted now. Note it is not necessarily blocking -- you may httd(daemon = TRUE) to start a daemonized server so it does not block the current R session.

rekado commented 8 years ago

@yihui thanks for accepting, and for the useful hint!