* riece-server.el: Implement flood protection.
authorueno <ueno>
Sat, 25 Sep 2004 04:32:42 +0000 (04:32 +0000)
committerueno <ueno>
Sat, 25 Sep 2004 04:32:42 +0000 (04:32 +0000)
commite0dbac6ea576c8f3471f2c437ed8fb1e3b5c0c25
tree09a79c2635ed731469610897705ffb199a5de9d0
parent19c03d25125271b325d6f133f1722f0bc738d2a5
* riece-server.el: Implement flood protection.
(riece-flush-send-queue): New function.
(riece-process-send-string): Use it.
(riece-seconds-to-time): New function.
(riece-time-since): New function.
(riece-time-less-p): New function.
(riece-reset-process-buffer): Reset riece-send-queue,
riece-last-send-time, riece-send-size.
* riece-options.el (riece-max-send-size): New user option.
(riece-send-delay): New user option.
* riece-globals.el (riece-send-queue): New variable.
(riece-last-send-time): New variable.
(riece-send-size): New variable.
lisp/ChangeLog
lisp/riece-globals.el
lisp/riece-options.el
lisp/riece-server.el