aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Web.pm
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@taniquetil.(none)>2009-08-09 13:35:21 +0200
committerArne Georg Gleditsch <argggh@taniquetil.(none)>2009-08-09 13:35:21 +0200
commit18c9a9da17ebea409c56ef9118a0adcc536f05c4 (patch)
tree5e9f0d34a276db73d2bd8e946843e015c7fda13c /lib/LXRng/Web.pm
parent172a21f37471c7d8ad55318dcdc61c51986d4452 (diff)
parent52cab08b9bb06bcc822b4e8d99455e693b8b64ae (diff)
Merge branch 'master' of ssh://lxr.linux.no/home/argggh/git/lxrng
Diffstat (limited to 'lib/LXRng/Web.pm')
-rw-r--r--lib/LXRng/Web.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/LXRng/Web.pm b/lib/LXRng/Web.pm
index a0846f3..9e9e24a 100644
--- a/lib/LXRng/Web.pm
+++ b/lib/LXRng/Web.pm
@@ -125,6 +125,11 @@ sub print_markedup_file {
mkpath($cfile, 0, 0777);
open($cache, '>', "$cfile/0");
}
+ else {
+ # Don't chunk file transfers unless cache is enabled.
+ $focus = 1;
+ }
+
my $handle = $node->handle();
LXRng::Lang->init($context);
my $lang = LXRng::Lang->new($node);