[Mongrel] x_send_file sends a 1 byte file

mcr at simtone.net mcr at simtone.net
Tue Jun 17 15:39:26 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>>>>> "Kirk" == Kirk Haines <wyhaines at gmail.com> writes:
    Kirk> So, in order to adequately test it, you will have to have
    Kirk> _something_ in front of your processes which handle it.  Also
    Kirk> be aware that only some web servers implement X-Sendfile

  Good point.

  I have some scripts that setup apache.conf to run in the current
directory, as current user, on a high-port.  It would be all rake tasks,
but my rake task actually just invokes a Makefile and shell scripts,
because I wrote this code for a non-ruby project originally.
  (My makefile also arranges to build a mysql cluster locally too)

  I would like to have system level tests of some kind to help with 
this kind of thing too.  I haven't looked at how the mongrel code itself
gets tested --- maybe there is something there that can help?

- -- 
Michael Richardson <mcr at simtone.net>
Director -- Consumer Desktop Development, Simtone Corporation, Ottawa, Canada
Personal: http://www.sandelman.ca/mcr/ 

SIMtone Corporation fundamentally transforms computing into simple,
secure, and very low-cost network-provisioned services pervasively
accessible by everyone.  Learn more at www.simtone.net and www.SIMtoneVDU.com 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQDVAwUBSFgS7e0sRu40D6vCAQI4ogYAoJkW4C7P7acV+ZRoCU6Bb46Wt3M6qwzG
0SUWXzs2xvGPFmcpdqjBIIHj/D+XCNZxIPgFtj62yFmZTzl320sJvjcrA/SOteRD
o4ik+wXHFmIKum3Yz4i2qSJFNJmZJ4Juv7p9Np1b6M0W3Gjz4IbKox1oteCicnTW
e18hgZg5009LxjPxwNXnKVZbJQmdqGM3xB2MMK3eBOkN5HkbwaBConrhOZ3VpmU1
PlTVjdt4mZ2RPXtrzDMG6ROJqhaYbmka
=Fyfj
-----END PGP SIGNATURE-----


More information about the Mongrel-users mailing list