Łukasz Żukowski wrote:
> Hello.
> Is there a way to run polipo as reverse proxy? I have a http server  
> with large file content and I want to serve that content from some  
> diffrent servers (caching proxies). I'm searching for a proxy that  
> cache range requests and polipo is only one I found with that feature.  
> Squid and other proxies are tunneling range requests (if file is not  
> full cached). But I have two problems with polipo. First is reverse  
> proxy feature (but I think I can write it to polipo and sends you  
> patch), other thing i 2GB limit for disk cache. Is there a easy way to  
> turn off disk cache limit ?
>
> --
> Łukasz Żukowski
>   

Seems not.  You want "Large File Support" (LFS).  The manpage for
feature_test_macros says you should add -D_FILE_OFFSET_BITS=64...

/home/alan/bin/cc  -g -Wall -DLOCAL_ROOT=\"/usr/share/polipo/www/\"
-DDISK_CACHE_ROOT=\"/var/cache/polipo/\"  -D_FILE_OFFSET_BITS=64    -c
-o util.o util.c
In file included from ftsimport.h:2,
                 from polipo.h:195,
                 from util.c:23:
/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with
-D_FILE_OFFSET_BITS==64"
make: *** [util.o] Error 1

I don't know why this doesn't work.  If you want a quick fix, switch to
a 64 bit system :-P.  Otherwise, I hope this points you in the right
direction for hacking.

Alan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to