Ugly bug detected in Vaultster
Posted: Sun May 09, 2004 4:25 am
I noticed that Vaultser can put corrupted bic files in the Server vault. If there is a crash of one of the world while the file is transfering, then the transfer is interrupted, which is logical, but Vaultster still copies the partial bic file in the vault, which is wrong of course. This happenned in Hala.
Vaultser is not open source, so I dont know how it works internaly. Here is how it should work : first send the length of the file (exact number of bytes), then get the bytes and put them in a file in one call.
We noticed it, because when the player owning the buggy bic file tried to log in, the server entered an endless loop before presenting him his char chooser page. It was a half-crash : everyone was timed out, but the process could stay up for more than half an hour, thus preenting NWNX2 from relaunching it.
Vaultser is not open source, so I dont know how it works internaly. Here is how it should work : first send the length of the file (exact number of bytes), then get the bytes and put them in a file in one call.
We noticed it, because when the player owning the buggy bic file tried to log in, the server entered an endless loop before presenting him his char chooser page. It was a half-crash : everyone was timed out, but the process could stay up for more than half an hour, thus preenting NWNX2 from relaunching it.