From a5e721f8cf55f3e174f70412ef4a6f11aaa40a59 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 18 Sep 2006 22:28:07 +0000 Subject: - Merged Meruru's update to socket.c, which includes a rewritten parse function, which should hopefully be more efficient than the previous code. - The new code includes support for two config settings (packet_athena.txt): frame_size, which can be used to alter the logic packet-size allowed by the code, and mode_neg, which when set to yes, sets TCP_NODELAY on all connections (defaults to yes). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8799 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf-tmpl/Changelog.txt | 4 ++++ conf-tmpl/packet_athena.conf | 6 ++++++ 2 files changed, 10 insertions(+) (limited to 'conf-tmpl') diff --git a/conf-tmpl/Changelog.txt b/conf-tmpl/Changelog.txt index 9779269eb..ec313b138 100644 --- a/conf-tmpl/Changelog.txt +++ b/conf-tmpl/Changelog.txt @@ -1,6 +1,10 @@ Date Added 2006/09/18 + * The new socket update code includes support for two new config settings + (packet_athena.txt): frame_size, which can be used to alter the logic + packet-size allowed by the code, and mode_neg, which when set to yes, sets + TCP_NODELAY on all connections (defaults to yes). [Skotlex] * Due to a recent update of how cards/equipment status change defense works, the max sc resistance settings (battle/status.conf) no longer apply to them. [Skotlex] diff --git a/conf-tmpl/packet_athena.conf b/conf-tmpl/packet_athena.conf index 1c29c84bf..6f5a1ac2f 100644 --- a/conf-tmpl/packet_athena.conf +++ b/conf-tmpl/packet_athena.conf @@ -8,6 +8,12 @@ debug: no // How long can a socket stall before closing the connection (in seconds) stall_time: 60 +// When enabled, sets TCP_NODELAY (disable nagel Algorythm) on all connections +mode_neg: yes + +// frame packet size as considered by the server (when there's enough +// information in queue to fill the frame_size, a "send" is forced) +//frame_size: 1054 //----- IP Rules Settings ----- -- cgit v1.2.3-70-g09d2