Re: [curl-loader-devel] Question about curl-loader
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2007-03-24 06:21:11
|
Jeremy, On 3/24/07, Jeremy Hicks <je...@no...> wrote: > initial_handles_init - error: alloc_client_post_buffers () . > batch_function - "login" initial_handles_init () failed. > I do not think is that VMWare or Ubuntu (Michael and another man are using Ubuntu with curl-loader successfully) to be blamed. After a brief code analyzes, however, when a user is willing to use LOGIN for some kind of POST-ing (either GET+POST or POST-only), but provided "not expected" (bug at our side) number of %symbols in LOGIN_POST_STR, the errors may appear. Currently, we count number of % symbols in such string and allow either 4 or 2 (loader.c, function alloc_init_client_post_buffers ()) Two is for the cases, when all users and password for all clients to be the same (like "user=%s&password=%s") or when users with passwords are loaded from a credentials file. Four is for the case, when we are generating unique credentials by adding a number (like "user=%s%d&password=%s%d") Well, it could be the case, that a user needs some more % symbols, e.g. to place spaces like %20. Therefore, on our side the fix will be to count the number of "%s" and "%d" strings and to verify, that their sum is coming as 4 or 2. Enhancement of configuration validation looks to be also appropriate. When your configuration file will be available with a brief explanation, of what you are planning to do, we will make the fixes, patches promptly. Thank you and sorry for the bugs. -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ................................................................... Navigare necesse est, vivere non est necesse ................................................................... http://curl-loader.sourceforge.net A powerful open-source HTTP/S, FTP/S traffic generating, loading and testing tool. |