Commit Graph

414 Commits

Author SHA1 Message Date
Radim Kolar
40c577972b dont check variable sizes in SCons we do not use them anymore. It should improve compatibility with cross compiling. 2009-09-23 00:20:06 +02:00
Radim Kolar
f68ddb93a8 Remove last traces of using SIZEOF_ preprocesor defines for other types
than off_t.
2009-09-23 00:12:45 +02:00
Radim Kolar
eed29b6cd2 removed use of nonstandard type BYTE and SIZEOF defines from tweak.h 2009-09-22 23:56:05 +02:00
Radim Kolar
df13788e57 added missing prototype for function gettimeofday 2009-09-22 23:54:36 +02:00
Radim Kolar
cb6518427d fixed compiler warning about different pointer types 2009-09-22 23:46:35 +02:00
Radim Kolar
757be6a8df Merged patchset for fifocache.
Set contains:
1. javadoc style comments for fifocache
2. fifocache do not longer depends on nonstandard BYTE data type
3. fixed compile warnings in cachecheck
4. profilers now operate on cost * pointers
2009-09-22 19:24:49 +02:00
Radim Kolar
c45f3e0794 print what we inserting into cache during test. fixed all gcc warnings. 2009-09-22 18:16:28 +02:00
Radim Kolar
1f570b0049 add const to file FIFO cache profilers 2009-09-22 18:06:16 +02:00
Radim Kolar
eed479202c make memory profilers to operate on const void * pointers, they have to reason for changing data 2009-09-22 17:59:33 +02:00
Radim Kolar
7665817754 we need to use const * pointer to avoid gcc warning 2009-09-22 17:55:04 +02:00
Radim Kolar
4fa6d2b648 convert entry * to int8_t before substracting pointers 2009-09-22 17:53:33 +02:00
Radim Kolar
a876e9d6c8 next pointers in fifocache must be int8_t also 2009-09-22 17:48:36 +02:00
Radim Kolar
b7a2d77f86 define cache heads as int8_t * 2009-09-22 17:41:09 +02:00
Radim Kolar
a22c6b9cff removed last traces of BYTE datatype 2009-09-22 17:21:50 +02:00
Radim Kolar
9fd3051b4f javadoc style comments added to fifocache 2009-09-22 17:13:35 +02:00
Radim Kolar
ac199f985f use void * instead of BYTE pointers 2009-09-22 16:53:39 +02:00
Radim Kolar
a18032611e clarify copyright for fifocache - its dual licensed LGPL v2.1 with MIT if used as part of FSP 2009-09-22 15:16:03 +02:00
Radim Kolar
9401d5c906 remove tweak.h from fifocache. it should not depends on FSP 2009-09-22 15:13:45 +02:00
Radim Kolar
530bd1841c remove check for STAT_MACROS_BROKEN, its relic from autoconf days 2009-09-21 22:58:40 +02:00
Radim Kolar
dda183fc0e if we cant find size of off_t default to 4 2009-09-21 22:57:02 +02:00
Radim Kolar
1f3e259eee add support for error codes for CC_ERR 2009-09-21 18:17:08 +02:00
Radim Kolar
6aa153fd1e add note to ChangeLog that large support on linux should work now 2009-09-21 17:40:14 +02:00
Radim Kolar
2a52e5b0ff add scons script for enabling large files with special linux support 2009-09-21 17:38:42 +02:00
Radim Kolar
748e529b27 Make more descriptive comments about packet sizes supported by this server 2009-09-20 10:54:32 +02:00
Radim Kolar
ae72ec7740 add check for port number > 65535 to fhostcmd also 2009-09-16 18:48:44 +02:00
Radim Kolar
3d7ee6de48 merged doc fixes 2009-09-15 21:31:07 +02:00
Radim Kolar
895a896d3e mention directory protection bits also in hex notation 2009-09-15 20:08:37 +02:00
Radim Kolar
a453dbe5e1 check if CC compiler works 2009-09-15 17:52:58 +02:00
Radim Kolar
e9c22df0fd fpwd command from setup.sh now prints site name instead of ip 2009-09-15 17:10:54 +02:00
Radim Kolar
588f449894 fsetupcmd got -l option 2009-09-15 17:01:16 +02:00
Radim Kolar
a241a9f1d6 fsetupcmd code cleanup 2009-09-15 16:04:02 +02:00
Radim Kolar
abfce62c10 add comments to fsetupcmd init 2009-09-15 15:43:59 +02:00
Radim Kolar
e37d784eca correct comment fsetupcmd is searchig for .fspsites not .fsp_prof 2009-09-15 15:35:01 +02:00
Radim Kolar
849fe9371c note in changelog that we updated INFO 2009-09-15 14:23:58 +02:00
Radim Kolar
ffae99d120 Internet part of info document reworked. Split into 2 parts: busy sites and stealth operation 2009-09-15 14:23:12 +02:00
Radim Kolar
0ad90a4d84 note that 1 packet in network is good for DDoS attack protection too 2009-09-15 14:06:27 +02:00
Radim Kolar
62313199f1 note that FSP is faster and more reliable than TFTP 2009-09-15 14:00:53 +02:00
Radim Kolar
4a9e2393fc FSP now uses more dumb, but faster on today networks retry algorithm 2009-09-15 13:58:06 +02:00
Radim Kolar
6b6fe92e87 We use FSP on wifi networks with 80% PLR 2009-09-15 13:51:19 +02:00
Radim Kolar
26070b103a Always allow uploads if client starts at 0B 2009-09-14 18:36:27 +02:00
Radim Kolar
dd63b15fce document that turning on debug also turns on maintainer mode 2009-09-14 17:38:01 +02:00
Radim Kolar
780d87edb4 fixed typo in changelog message 2009-09-14 16:48:26 +02:00
Radim Kolar
2fe13c2e32 fixed permission check for overwriting uploaded files 2009-09-14 16:41:30 +02:00
Radim Kolar
c48b2d488f major rework logic used for detection of corrupted upload sessions 2009-09-14 15:29:47 +02:00
Radim Kolar
d981767170 cross reference comment on transporting xtra data in checksums 2009-09-14 12:15:09 +02:00
Radim Kolar
b729bcd0dd Note that size sent in xtra data in GET_PRO request applies to both data parts in reply (data+xtra data) 2009-09-14 12:11:02 +02:00
Radim Kolar
e1b8675b56 extra data in FSP_GET_FILE request means preferred size of reply data block, which is not optional (unless file position points after end of file) 2009-09-14 12:07:24 +02:00
Radim Kolar
0a2c077877 rename glob() function to bsdglob(). Function glob is part of newer linux libc 2009-09-13 21:06:32 +02:00
Radim Kolar
820e0a91af turning on debug mode turns on maintainer mode too 2009-09-13 20:14:16 +02:00
Radim Kolar
0b50d9bb3e maintainer mode check can be overrided (forced on) by parameter 2009-09-13 20:13:25 +02:00