about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-06-07 03:41:20 -0700
committerEric Wong <normalperson@yhbt.net>2009-06-07 03:41:20 -0700
commit67c2b02fdb4a863f1a7934b2c907b6d11c236f75 (patch)
tree796afe635a32dcc549d1087c3025261a309fc858 /examples
parenta834b9fe0f3085f979d7f378d3cb72e0a052d85c (diff)
downloadunicorn-67c2b02fdb4a863f1a7934b2c907b6d11c236f75.tar.gz
Then hopefully soon we'll be able to get rid of this script...
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/cat-chunk-proxy.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/examples/cat-chunk-proxy.rb b/examples/cat-chunk-proxy.rb
index 3a5921f..ca775e7 100755
--- a/examples/cat-chunk-proxy.rb
+++ b/examples/cat-chunk-proxy.rb
@@ -1,10 +1,15 @@
 #!/home/ew/bin/ruby
-# I wish I could just use curl -sfNT- http://host:port/, but
+# I wish I could just use curl --no-buffer -sSfT- http://host:port/, but
 # unfortunately curl will attempt to read stdin in blocking mode,
-# preventing it from getting responses from the server until
-# stdin has been written to.
+# preventing it from getting responses from the server until stdin has
+# been written to.
 #
-# Usage: GIT_PROXY_COMMAND=/path/to/here git clone git://host:port/project
+# For a patch that enables using curl(1) instead of this script:
+#
+#   http://mid.gmane.org/20090607101700.GB19407@dcvr.yhbt.net
+#
+# Usage: GIT_PROXY_COMMAND=/path/to/here git clone
+# git://host:port/project
 #
 # Where host:port is what the Unicorn server is bound to