Logo
Explore Help
Sign In
natalie/indefero
1
0
Fork 0
You've already forked indefero
Code Issues Pull Requests Releases Wiki Activity
indefero/contrib/zipstream-php-0.2.2/extras/README

3 lines
51 B
Plaintext
Raw Normal View History

Rework the way IDF's SCM interface provides downloadable snapshots. Instead of returning a command which gets executed and which should pass through / stream its output data to the client, we're just returning an instance of Pluf_HTTP_Response. This is needed, because some SCMs, most noticable monotone, have no locally executable command to provide a snapshot archive (and probably never will for our kind of setup). We therefor added a little BSD-licensed class "ZipArchive" which allows the creation of pkzip-compatible archives on the fly by letting it eat the file contents directly feed from the (remote) stdio instance. Download performance is ok and lies between 15K/s and 110K/s, but at least we do no longer block the browser while we pre-generate the zip file server-side. Thanks to Patrick Georgi for all his work!
2010-10-30 21:52:40 +00:00
Based on PKZIP appnotes, which are included here.
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 27ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API