From: Radim K. <hs...@se...> - 2009-10-01 21:24:44
|
Major bugfix version FSP suite 2.8.1 beta 26 released. It fixed segfault in FSP command line clients on newer Linux glibc, large file support is now correctly detected on linux systems, upload handling is now much smarter - it allows reupload last block and non continuous upload check was improved. Overwriting check for uploaded files was reversed by mistake, added protocol support for sending error codes (requested a lot), previously FSP protocol supported only text error message. Code portability increased by avoiding configure time checks for int and long variable sizes. fsetupcmd have new -l switch for listing known fsp servers. ChangeLog Version 2.8.1b26 - 1 Oct 2009 fver now reports if server can process extra data in input packets. fspclient did that for a long time. This field is used by fspd 2.8.1 beta 21 or newer. Server version string sent as response to CC_VERSION command have no longer \n appended to it. Old FSP used it but fver client command can handle server strings without \n for quite a long time, so i decided to remove it. It is bad idea to terminate version strings by \n while it is not required by FSP protocol. glob() function used in FSP clients renamed to bsdglob because it clashed with glob() functin in newer Linux glibc resulting in segfaults. non continuous upload detection fixed. Now detection works as follows: if you are trying to upload past end of file, fspd will report that you are trying to create hole in file. if you are seeking backwards more than 1 packet size fspd will report noncontinuous upload. Most likely port from old unfinished download was reused. We can now reupload last block which can happen if fspd server is restarted and reply to upload command is lost on way from server to client. Check for overwriting uploaded files in fspd was reversed by mistake. Now if you want to overwrite file you must have permission for deleting and adding files or be directory owner. Turning on debug in SCons turns on maintainer mode also. Upload starting at zero position are now always allowed no matter if source port was reused or not. Old code did that but not over server restarts. INFO file updated with fresh information fsetupcmd and fhostcmd now reject port number > 65535 fsetupcmd - code cleaned a bit. Error message is now fsetup: No host given! instead of fhost: fsetupcmd got -l option. It lists all known fsp servers collected from .fspsites files. fpwd command from setup.sh now prints site name instead of ip address if possible. SCons now check if CC compiler works. We need SCons 1.1 or greater for building FSP now. Large file support on Linux is now correctly detected. Error codes added to CC_ERR command in PROTOCOL. It was long wished feature from ISV. Now there is standard way how to pass error codes from server to client. No such codes are defined yet, but you can use custom error codes in range 0xF000 - 0xFFFF. because no such codes are defined fspd do not sends them in error message, but it now correctly zeroes bb_pos field in CC_ERR reply to indicate that extended error code status is not attached to message. Old fspd versions left this field untouched - it will contain request bb_pos in most, but not all cases. Because we indicate size of extra data to be received, this extended error handling is compatible with "plain FSP over serial" standard. Code portability improved. Now we dont need to check sizes of predefined types because we are now using ISO C types. Only thing what we need to know is if largefiles are supported or not. If SCons cant run test program for sizing off_t for any reason, it defaults to 4 (no largefiles, 32-bit system). http://sourceforge.net/projects/fsp/files/fsp/2.8.1b26/fsp-2.8.1b26.tar.gz/download SHA1 (fsp-2.8.1b26.tar.gz) = ccd1d02341b2b427d8323cfe165dfca5386d8da7 SHA1 (fsp-2.8.1b26.tar.bz2) = 174118b9ddfa942147cae286e38ea41d613d0b9b -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ |