okdistribute / dat-server

A web ui and http interface for archiving dats.
45 stars 8 forks source link

http server #2

Closed okdistribute closed 8 years ago

okdistribute commented 8 years ago

have an http inside to ping http://...// and get the file contents back over http, with byte ranges

max-mapper commented 8 years ago

@mafintosh and i were talking about this, and at first we thought we could use a single tcp server/port to host both the dat tcp protocol as well as an http gateway. but upon further discussion we realized that would make it very difficult to put dat behind an https gateway (such as nginx) so we now think the easier way is to just use one tcp server/port for the dat protocol and another for the http gateway