@niceusername said in [Question] write data into a file with multiple threads:
Hey
If i write data into a single file using multiple threads then is there any chance of data loss ? Is this method okay to write file or some other method should be used to avoid data loss(if it happens) ?
Thanks
There should be no data loss, but it is still better to use the resource for this purpose
@jtercs said in Invalid "Content-Type: custom" create issues with some captcha solving services:
I'm not sure, "why" added the "Content-Type: custom" header element into the reCaptcha/funcaptcha module.
It's a not standard content-type in this case some captcha solving services block the request based on this header element.
The response clear:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Bad Request</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Bad Request - Invalid Header</h2> <hr><p>HTTP Error 400. The request has an invalid header name.</p> </BODY></HTML>
How it's possible to remove?
Thanks,
Jtercs
Dear BAS developers, I guess you are busy, but a quick response takes a lot.
I found the issue here:
\modules\ReCaptcha\engine.js ---> line: 409
\custom\modules\ReCaptcha\engine.js ---> line: 407
http_client_post(BAS_SolveRecaptcha_Url + "/createTask", ["data",data], {"content-type":("custom"), "encoding":("UTF-8"), "method":("POST")})!
But unfortunatelly, I'm not able do anything while this data encoded into Engine.dll and the BAS use that file instead the pure JS files.
My question still actually: How to remove invalid Content-Type?
Thanks for your time!
By default bot should ignore errors, adding ignore command to all functions is really time consuming. This is where BAS needs to make changes. It is better to define a fail or stop command rather than modifying each block..really BAS Should do something so that Bot don't stop on minor errors.
@berubah said in Select All Checklist on Resource ?:
@fox already buy premium, but still didnt know how to use user interface, any documentation on this ?
thanks
https://wiki.bablosoft.com/web-interface/