Search found 24 matches

by Mhollow
01 Feb 2017, 06:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SFS Pro 1.6.18 patch bug
Replies: 13
Views: 16340

Re: SFS Pro 1.6.18 patch bug

Thanks for the patch, I've applied it, but I can't confirm that the problem is completely solved. At the scenario that I described early, (where the are two sockets are involved) the SFS now closes the connected socket from the malformed message come and not performs login procedure following by the...
by Mhollow
14 Jan 2017, 11:23
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SFS Pro 1.6.18 patch bug
Replies: 13
Views: 16340

SFS Pro 1.6.18 patch bug

It seems i've found a bug in SFS 1.6.18 patch. This patch has got new feature: - Added more severe policy for malformed packets (XML, JSON and string based). Malformed requests will cause immediate client disconnection. The bug itself: In case such malformed packet arrives, SFS drops it and closes t...
by Mhollow
05 Jan 2017, 18:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SFS Pro 1.6.18 patch disappeared
Replies: 1
Views: 4669

SFS Pro 1.6.18 patch disappeared

Hello!
May I ask a question, what was happened with SFS Pro 1.6.18 patch?
Why it's not available for download :?: :roll:
by Mhollow
16 Nov 2016, 17:30
Forum: Server Side Extension Development
Topic: getDataAsList is broken?
Replies: 7
Views: 13635

Re: getDataAsList is broken?

Let me pay your attention. It's absolutely inappropriate behaviour! :cry: Arrays indexes always begin at index = 0, so why column indexes have to start at index=1??? It's a mess! :x :oops: :shock: And we've got a stupid empty element in a column List and a discouraging wrong array size as a "bo...
by Mhollow
16 Nov 2016, 15:02
Forum: Server Side Extension Development
Topic: getDataAsList is broken?
Replies: 7
Views: 13635

Re: getDataAsList is broken?

Hi! Could you please explain me the following: There is a table that consists of 4 fields, and a simple query: "select * from table_name" List<DataRow> queryRes = (ArrayList<DataRow>)db.executeQuery(sqlStr, DataRow.DATAROW_INTKEY); DataRow row = queryRes.get(0); List <String> list = row.ge...
by Mhollow
30 Jun 2015, 12:02
Forum: Server Side Extension Development
Topic: closing client's socket
Replies: 7
Views: 10411

Re: closing client's socket

Thanks. but it's not a robust, simple and reliable solution. How long I must wait? How can I compute the minimum an maximum time to wait, where is the guarantee that all messages will be send anyway? Sorry for my punctuality... I can just call return from the handleInternalEvent() and let the MaxSoc...
by Mhollow
30 Jun 2015, 10:19
Forum: Server Side Extension Development
Topic: closing client's socket
Replies: 7
Views: 10411

Re: closing client's socket

But it doesn't allow to send a message before closing the socket.
by Mhollow
30 Jun 2015, 09:13
Forum: Server Side Extension Development
Topic: closing client's socket
Replies: 7
Views: 10411

Re: closing client's socket

Of cause you are right, but only in case if we can absolutely trust the client.
If not (as in my case) I have to deal with fully sockets management on a server side to avoid ddos o something insecure and unwanted behaviour from the clients.
by Mhollow
30 Jun 2015, 06:47
Forum: Server Side Extension Development
Topic: closing client's socket
Replies: 7
Views: 10411

closing client's socket

Hello, could you please tell me how I can close (disconnect) a clients' socket in a SFS Java extension within a handleInternalEvent() method, in case user fails against auth procedure? If I just call return from this method, the socket is closed only after MaxSocketIdleTime seconds defined in config...
by Mhollow
22 Mar 2015, 09:05
Forum: SmartFoxServer 1.x Discussions and Help
Topic: MaxWriterQueue option
Replies: 3
Views: 7258

Re: MaxWriterQueue option

Does it mean that MaxWriterQueue is the size of very last query that a message hits on a server side? If a client is able to receive a message then message goes directly to the WriterQueue and then beind sent out, and in case of some problems on the client side the message is dropped to ClientMessag...
by Mhollow
22 Mar 2015, 08:27
Forum: Server Side Extension Development
Topic: the best way to call trace()
Replies: 1
Views: 5383

the best way to call trace()

Hello. I am writing and extensions for SFS PRO that consists of several Java classes. There is a class that is the extension class that extends an AbstractExtension class and some other other additional classes. So, my question is what is the best way to call trace() from this additional classes? Th...
by Mhollow
22 Mar 2015, 08:06
Forum: SmartFoxServer 1.x Discussions and Help
Topic: MaxWriterQueue option
Replies: 3
Views: 7258

MaxWriterQueue option

Hello
Could you please explain what is MaxWriterQueue option stands for? (SFS Pro)
And what's the difference between MaxWriterQueue and ClientMessageQueue options?
Thanks!
by Mhollow
18 Mar 2015, 14:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: System handler number of threads.
Replies: 3
Views: 7326

Re: System handler number of threads.

Thanks for the reply, but please help me understand how a login event relates to thread pools. Namely, when a <msg t='sys'><body action='login' >....</msg> packet arrives, what thread pools are responsible for processing this event? Your previous reply states the following, "The SystemHandler i...
by Mhollow
18 Mar 2015, 09:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: System handler number of threads.
Replies: 3
Views: 7326

System handler number of threads.

Hello. Is it possible to adjust SystemHandler thread count setting in config.xml for SFS pro? There are only <OutQueueThreads>X</OutQueueThreads> and <ExtHandlerThreads>X</ExtHandlerThreads> settings but no SystemHandlerThreads. As far as I understand, SystemHandler is responsible in particular for ...
by Mhollow
23 Mar 2012, 14:41
Forum: SmartFoxServer 1.x Discussions and Help
Topic: H2 How to Disable?
Replies: 1
Views: 3934

H2 How to Disable?

Hello!
My question is simple :)
Is it possible to completely disable (turn off) the H2 SQL server on sfs startup or reload ?
Is there an option like <Webserver active /> for jetty
Thanks!

Go to advanced search