r1841: Fix for #1606, can't launch dos exe's.
commit3cd88f48afa589a189bb728d2d2660d058203d4d
authorJeremy Allison <jra@samba.org>
Mon, 16 Aug 2004 21:27:26 +0000 (16 21:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:21 +0000 (10 10:52 -0500)
tree4edad5e64a78bf5794c903cde0cc9724ebd4219b
parent08037bd4427a99150c1cc65770681ec3f92f4ad5
r1841: Fix for #1606, can't launch dos exe's.
2 related problems - 1). DOS uses chained commands - when we
are replying with sendfile we neglect to send the chained header. 2). Win9x and
DOS TCP stacks blow up when getting data back from a Linux sendfile - "The
engines canna take the strain cap'n". Don't use sendfile for anything less than NT1.
Jeremy.
source/param/loadparm.c
source/smbd/reply.c