diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-18 22:28:07 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-18 22:28:07 +0000 |
commit | a5e721f8cf55f3e174f70412ef4a6f11aaa40a59 (patch) | |
tree | 7a97e868ecedb659347d349bd1a223d9080ba201 /conf-tmpl/packet_athena.conf | |
parent | af8421488eef950de05dda7109e195687613393e (diff) | |
download | hercules-a5e721f8cf55f3e174f70412ef4a6f11aaa40a59.tar.gz hercules-a5e721f8cf55f3e174f70412ef4a6f11aaa40a59.tar.bz2 hercules-a5e721f8cf55f3e174f70412ef4a6f11aaa40a59.tar.xz hercules-a5e721f8cf55f3e174f70412ef4a6f11aaa40a59.zip |
- 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
Diffstat (limited to 'conf-tmpl/packet_athena.conf')
-rw-r--r-- | conf-tmpl/packet_athena.conf | 6 |
1 files changed, 6 insertions, 0 deletions
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 -----
|