├── .gitignore ├── README.txt ├── api ├── README.txt ├── php │ ├── Dklab │ │ └── Realplexor.php │ └── t │ │ ├── 500_phpapi_json.phpt │ │ ├── 505_phpapi_json_ns.phpt │ │ ├── 505_phpapi_json_ns_limited.phpt │ │ ├── 520_phpapi_stamps.phpt │ │ ├── 530_phpapi_errors.phpt │ │ ├── 540_phpapi_online.phpt │ │ ├── 541_phpapi_online_with_counters.phpt │ │ ├── 542_phpapi_online_empty.phpt │ │ ├── 545_phpapi_online_prefix.phpt │ │ ├── 545_phpapi_online_prefix_ns.phpt │ │ ├── 547_phpapi_no_online_prefix.phpt │ │ ├── 560_phpapi_watch.phpt │ │ ├── 562_phpapi_watch_event_empty.phpt │ │ ├── 562_phpapi_watch_ns.phpt │ │ ├── 564_phpapi_watch_idp_ns.phpt │ │ ├── 600_phpapi_login.phpt │ │ ├── 605_phpapi_login_invalid.phpt │ │ ├── 610_phpapi_login_ns.phpt │ │ ├── 620_phpapi_login_online.phpt │ │ └── init.php └── python │ └── Dklab │ └── realplexor.py ├── cpp ├── Connection │ ├── In.h │ └── Wait.h ├── Make.sh ├── README.txt ├── Realplexor │ ├── Common.h │ ├── Config.h │ ├── Event │ │ ├── Connection.h │ │ ├── FH.h │ │ ├── Server.h │ │ ├── Signal.h │ │ └── Timer.h │ └── Tools.h ├── Storage │ ├── CleanupTimers.h │ ├── ConnectedFhs.h │ ├── DataToSend.h │ ├── Events.h │ ├── OnlineTimers.h │ └── PairsByFhs.h ├── dklab_realplexor.cpp ├── dklab_realplexor.h └── utils │ ├── Socket.h │ ├── checked_map.h │ ├── ev++0x.h │ ├── misc.h │ ├── prefix_checker.h │ └── stdmiss.h ├── dklab_realplexor.conf ├── dklab_realplexor.html ├── dklab_realplexor.htpasswd ├── dklab_realplexor.init ├── dklab_realplexor.js ├── dklab_realplexor.license-additional.txt ├── dklab_realplexor.license-gpl-2.0.txt ├── dklab_realplexor.pl ├── misc ├── banner.txt ├── banner_cpp.txt ├── tabs2spaces.pl └── update_banner.pl ├── perl ├── Connection │ ├── In.pm │ └── Wait.pm ├── Realplexor │ ├── Common.pm │ ├── Config.pm │ ├── Event │ │ ├── Connection.pm │ │ ├── FH.pm │ │ ├── Server.pm │ │ ├── Signal.pm │ │ └── Timer.pm │ └── Tools.pm ├── Storage │ ├── CleanupTimers.pm │ ├── ConnectedFhs.pm │ ├── DataToSend.pm │ ├── Events.pm │ ├── OnlineTimers.pm │ └── PairsByFhs.pm ├── Tie │ └── Array │ │ └── Sorted.pm └── dklab_realplexor.pl └── t ├── crashtest ├── 0_README.txt ├── 1_run_realplexor.sh ├── t_ab_connect_and_get_iframe.pl ├── t_ab_push_many_data_to_same_id.pl ├── t_clients_abnormal_disconnect.pl ├── t_connect_many_clients_and_wait.pl └── t_push_single_data_to_many_ids.pl ├── demo ├── _common.php ├── ajax_post.php ├── cron_online_updater.php ├── fr_form.php ├── fr_ids.php ├── index.php └── static │ ├── close.gif │ ├── indicator.gif │ ├── jquery.min.js │ └── loading_green.gif ├── jstest ├── .htaccess ├── 0000_all.php ├── 0100_success.jst ├── 0101_no_request_if_no_subscribes.jst ├── 0102_success_ns.jst ├── 0103_success_ns_login.jst ├── 0105_setpos.jst ├── 0110_abort_not_bounce.jst ├── 0110_error_skip_ok.jst ├── 0120_error_incomplete_resp.jst ├── 0120_js_error_is_not_bounce.jst ├── 0130_disconnect_no_warn.jst ├── 0140_long_ids_list.jst ├── 0200_eval_error.jst ├── 0200_subscribe_same_callback.jst ├── 0210_no_req_if_execute_in_callback.jst ├── 0300_unsubscribe.jst ├── JsTest │ ├── JsTest.css │ ├── JsTest.js │ └── JsTestIterator.js └── contrib │ ├── empty.txt │ ├── iframe.php │ ├── init.php │ └── tests_result.php ├── profile ├── ab │ └── ab.patch ├── dklab_realplexor.conf └── profile.pl └── servertest ├── 010_send.phpt ├── 025_send_multi_with_stamp.phpt ├── 026_send_ignore_referrer.phpt ├── 027_send_multi_limited.phpt ├── 030_pass_to_connected.phpt ├── 040_stamp_compare_empty.phpt ├── 045_not_grouped_sequence.phpt ├── 047_grouped_sorted.phpt ├── 049_multiple_matched_read_own_ids_only.phpt ├── 050_pass_to_online_buffered_multi.phpt ├── 060_multiple_matched_limited.phpt ├── 070_pass_to_connected_readmulti.phpt ├── 210_stats_after_wait.phpt ├── 215_online_cmd.phpt ├── 220_watch_event_online_offline.phpt ├── 222_watch_event_empty.phpt ├── 225_watch_event_initial.phpt ├── 230_watch_event_chain_size_pl.phpt ├── 240_watch_event_no_extra_offline.phpt ├── 320_rotate_queue.phpt ├── 325_rotate_queue_with_same_id.phpt ├── 330_cleanup_queue_on_expire.phpt ├── 400_iframe.phpt ├── 410_script.phpt ├── 500_login_send_unknown_user.phpt ├── 510_login_send_wrong_pass.phpt ├── 520_login_send_pass_skip_not_own.phpt ├── 530_login_send_ok.phpt ├── 535_login_online_no_id.phpt ├── 540_login_online_not_own.phpt ├── 540_login_watch.phpt ├── 600_send_empty_id.phpt ├── 700_max_mem_mb.phpt ├── fixture ├── iframe_large.conf ├── iframe_stub.conf ├── iframe_stub.html ├── max_mem_mb.conf ├── medium_offline_timeout.conf ├── non_anonymous.conf ├── non_anonymous.htpasswd ├── script_stub.conf ├── script_stub.js ├── small_chain_len.conf ├── small_cleanup_timeout.conf ├── small_offline_timeout.conf ├── small_queue_sz.conf └── small_wait_timeout.conf ├── init.php ├── run_all.sh ├── run_all_forever.sh ├── run_apply_ok_out.pl └── run_diff.pl /.gitignore: -------------------------------------------------------------------------------- 1 | dklab_realplexor 2 | -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/README.txt -------------------------------------------------------------------------------- /api/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/README.txt -------------------------------------------------------------------------------- /api/php/Dklab/Realplexor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/Dklab/Realplexor.php -------------------------------------------------------------------------------- /api/php/t/500_phpapi_json.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/500_phpapi_json.phpt -------------------------------------------------------------------------------- /api/php/t/505_phpapi_json_ns.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/505_phpapi_json_ns.phpt -------------------------------------------------------------------------------- /api/php/t/505_phpapi_json_ns_limited.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/505_phpapi_json_ns_limited.phpt -------------------------------------------------------------------------------- /api/php/t/520_phpapi_stamps.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/520_phpapi_stamps.phpt -------------------------------------------------------------------------------- /api/php/t/530_phpapi_errors.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/530_phpapi_errors.phpt -------------------------------------------------------------------------------- /api/php/t/540_phpapi_online.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/540_phpapi_online.phpt -------------------------------------------------------------------------------- /api/php/t/541_phpapi_online_with_counters.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/541_phpapi_online_with_counters.phpt -------------------------------------------------------------------------------- /api/php/t/542_phpapi_online_empty.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/542_phpapi_online_empty.phpt -------------------------------------------------------------------------------- /api/php/t/545_phpapi_online_prefix.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/545_phpapi_online_prefix.phpt -------------------------------------------------------------------------------- /api/php/t/545_phpapi_online_prefix_ns.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/545_phpapi_online_prefix_ns.phpt -------------------------------------------------------------------------------- /api/php/t/547_phpapi_no_online_prefix.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/547_phpapi_no_online_prefix.phpt -------------------------------------------------------------------------------- /api/php/t/560_phpapi_watch.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/560_phpapi_watch.phpt -------------------------------------------------------------------------------- /api/php/t/562_phpapi_watch_event_empty.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/562_phpapi_watch_event_empty.phpt -------------------------------------------------------------------------------- /api/php/t/562_phpapi_watch_ns.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/562_phpapi_watch_ns.phpt -------------------------------------------------------------------------------- /api/php/t/564_phpapi_watch_idp_ns.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/564_phpapi_watch_idp_ns.phpt -------------------------------------------------------------------------------- /api/php/t/600_phpapi_login.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/600_phpapi_login.phpt -------------------------------------------------------------------------------- /api/php/t/605_phpapi_login_invalid.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/605_phpapi_login_invalid.phpt -------------------------------------------------------------------------------- /api/php/t/610_phpapi_login_ns.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/610_phpapi_login_ns.phpt -------------------------------------------------------------------------------- /api/php/t/620_phpapi_login_online.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/620_phpapi_login_online.phpt -------------------------------------------------------------------------------- /api/php/t/init.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/php/t/init.php -------------------------------------------------------------------------------- /api/python/Dklab/realplexor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/api/python/Dklab/realplexor.py -------------------------------------------------------------------------------- /cpp/Connection/In.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Connection/In.h -------------------------------------------------------------------------------- /cpp/Connection/Wait.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Connection/Wait.h -------------------------------------------------------------------------------- /cpp/Make.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Make.sh -------------------------------------------------------------------------------- /cpp/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/README.txt -------------------------------------------------------------------------------- /cpp/Realplexor/Common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Realplexor/Common.h -------------------------------------------------------------------------------- /cpp/Realplexor/Config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Realplexor/Config.h -------------------------------------------------------------------------------- /cpp/Realplexor/Event/Connection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Realplexor/Event/Connection.h -------------------------------------------------------------------------------- /cpp/Realplexor/Event/FH.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Realplexor/Event/FH.h -------------------------------------------------------------------------------- /cpp/Realplexor/Event/Server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Realplexor/Event/Server.h -------------------------------------------------------------------------------- /cpp/Realplexor/Event/Signal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Realplexor/Event/Signal.h -------------------------------------------------------------------------------- /cpp/Realplexor/Event/Timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Realplexor/Event/Timer.h -------------------------------------------------------------------------------- /cpp/Realplexor/Tools.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Realplexor/Tools.h -------------------------------------------------------------------------------- /cpp/Storage/CleanupTimers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Storage/CleanupTimers.h -------------------------------------------------------------------------------- /cpp/Storage/ConnectedFhs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Storage/ConnectedFhs.h -------------------------------------------------------------------------------- /cpp/Storage/DataToSend.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Storage/DataToSend.h -------------------------------------------------------------------------------- /cpp/Storage/Events.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Storage/Events.h -------------------------------------------------------------------------------- /cpp/Storage/OnlineTimers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Storage/OnlineTimers.h -------------------------------------------------------------------------------- /cpp/Storage/PairsByFhs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/Storage/PairsByFhs.h -------------------------------------------------------------------------------- /cpp/dklab_realplexor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/dklab_realplexor.cpp -------------------------------------------------------------------------------- /cpp/dklab_realplexor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/dklab_realplexor.h -------------------------------------------------------------------------------- /cpp/utils/Socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/utils/Socket.h -------------------------------------------------------------------------------- /cpp/utils/checked_map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/utils/checked_map.h -------------------------------------------------------------------------------- /cpp/utils/ev++0x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/utils/ev++0x.h -------------------------------------------------------------------------------- /cpp/utils/misc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/utils/misc.h -------------------------------------------------------------------------------- /cpp/utils/prefix_checker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/utils/prefix_checker.h -------------------------------------------------------------------------------- /cpp/utils/stdmiss.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/cpp/utils/stdmiss.h -------------------------------------------------------------------------------- /dklab_realplexor.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/dklab_realplexor.conf -------------------------------------------------------------------------------- /dklab_realplexor.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/dklab_realplexor.html -------------------------------------------------------------------------------- /dklab_realplexor.htpasswd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/dklab_realplexor.htpasswd -------------------------------------------------------------------------------- /dklab_realplexor.init: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/dklab_realplexor.init -------------------------------------------------------------------------------- /dklab_realplexor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/dklab_realplexor.js -------------------------------------------------------------------------------- /dklab_realplexor.license-additional.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/dklab_realplexor.license-additional.txt -------------------------------------------------------------------------------- /dklab_realplexor.license-gpl-2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/dklab_realplexor.license-gpl-2.0.txt -------------------------------------------------------------------------------- /dklab_realplexor.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/dklab_realplexor.pl -------------------------------------------------------------------------------- /misc/banner.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/misc/banner.txt -------------------------------------------------------------------------------- /misc/banner_cpp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/misc/banner_cpp.txt -------------------------------------------------------------------------------- /misc/tabs2spaces.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/misc/tabs2spaces.pl -------------------------------------------------------------------------------- /misc/update_banner.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/misc/update_banner.pl -------------------------------------------------------------------------------- /perl/Connection/In.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Connection/In.pm -------------------------------------------------------------------------------- /perl/Connection/Wait.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Connection/Wait.pm -------------------------------------------------------------------------------- /perl/Realplexor/Common.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Realplexor/Common.pm -------------------------------------------------------------------------------- /perl/Realplexor/Config.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Realplexor/Config.pm -------------------------------------------------------------------------------- /perl/Realplexor/Event/Connection.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Realplexor/Event/Connection.pm -------------------------------------------------------------------------------- /perl/Realplexor/Event/FH.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Realplexor/Event/FH.pm -------------------------------------------------------------------------------- /perl/Realplexor/Event/Server.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Realplexor/Event/Server.pm -------------------------------------------------------------------------------- /perl/Realplexor/Event/Signal.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Realplexor/Event/Signal.pm -------------------------------------------------------------------------------- /perl/Realplexor/Event/Timer.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Realplexor/Event/Timer.pm -------------------------------------------------------------------------------- /perl/Realplexor/Tools.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Realplexor/Tools.pm -------------------------------------------------------------------------------- /perl/Storage/CleanupTimers.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Storage/CleanupTimers.pm -------------------------------------------------------------------------------- /perl/Storage/ConnectedFhs.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Storage/ConnectedFhs.pm -------------------------------------------------------------------------------- /perl/Storage/DataToSend.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Storage/DataToSend.pm -------------------------------------------------------------------------------- /perl/Storage/Events.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Storage/Events.pm -------------------------------------------------------------------------------- /perl/Storage/OnlineTimers.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Storage/OnlineTimers.pm -------------------------------------------------------------------------------- /perl/Storage/PairsByFhs.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Storage/PairsByFhs.pm -------------------------------------------------------------------------------- /perl/Tie/Array/Sorted.pm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/Tie/Array/Sorted.pm -------------------------------------------------------------------------------- /perl/dklab_realplexor.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/perl/dklab_realplexor.pl -------------------------------------------------------------------------------- /t/crashtest/0_README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/crashtest/0_README.txt -------------------------------------------------------------------------------- /t/crashtest/1_run_realplexor.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/crashtest/1_run_realplexor.sh -------------------------------------------------------------------------------- /t/crashtest/t_ab_connect_and_get_iframe.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/crashtest/t_ab_connect_and_get_iframe.pl -------------------------------------------------------------------------------- /t/crashtest/t_ab_push_many_data_to_same_id.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/crashtest/t_ab_push_many_data_to_same_id.pl -------------------------------------------------------------------------------- /t/crashtest/t_clients_abnormal_disconnect.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/crashtest/t_clients_abnormal_disconnect.pl -------------------------------------------------------------------------------- /t/crashtest/t_connect_many_clients_and_wait.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/crashtest/t_connect_many_clients_and_wait.pl -------------------------------------------------------------------------------- /t/crashtest/t_push_single_data_to_many_ids.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/crashtest/t_push_single_data_to_many_ids.pl -------------------------------------------------------------------------------- /t/demo/_common.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/_common.php -------------------------------------------------------------------------------- /t/demo/ajax_post.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/ajax_post.php -------------------------------------------------------------------------------- /t/demo/cron_online_updater.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/cron_online_updater.php -------------------------------------------------------------------------------- /t/demo/fr_form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/fr_form.php -------------------------------------------------------------------------------- /t/demo/fr_ids.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/fr_ids.php -------------------------------------------------------------------------------- /t/demo/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/index.php -------------------------------------------------------------------------------- /t/demo/static/close.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/static/close.gif -------------------------------------------------------------------------------- /t/demo/static/indicator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/static/indicator.gif -------------------------------------------------------------------------------- /t/demo/static/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/static/jquery.min.js -------------------------------------------------------------------------------- /t/demo/static/loading_green.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/demo/static/loading_green.gif -------------------------------------------------------------------------------- /t/jstest/.htaccess: -------------------------------------------------------------------------------- 1 | AddHandler application/x-httpd-php jst 2 | php_flag output_buffering On 3 | -------------------------------------------------------------------------------- /t/jstest/0000_all.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0000_all.php -------------------------------------------------------------------------------- /t/jstest/0100_success.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0100_success.jst -------------------------------------------------------------------------------- /t/jstest/0101_no_request_if_no_subscribes.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0101_no_request_if_no_subscribes.jst -------------------------------------------------------------------------------- /t/jstest/0102_success_ns.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0102_success_ns.jst -------------------------------------------------------------------------------- /t/jstest/0103_success_ns_login.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0103_success_ns_login.jst -------------------------------------------------------------------------------- /t/jstest/0105_setpos.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0105_setpos.jst -------------------------------------------------------------------------------- /t/jstest/0110_abort_not_bounce.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0110_abort_not_bounce.jst -------------------------------------------------------------------------------- /t/jstest/0110_error_skip_ok.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0110_error_skip_ok.jst -------------------------------------------------------------------------------- /t/jstest/0120_error_incomplete_resp.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0120_error_incomplete_resp.jst -------------------------------------------------------------------------------- /t/jstest/0120_js_error_is_not_bounce.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0120_js_error_is_not_bounce.jst -------------------------------------------------------------------------------- /t/jstest/0130_disconnect_no_warn.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0130_disconnect_no_warn.jst -------------------------------------------------------------------------------- /t/jstest/0140_long_ids_list.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0140_long_ids_list.jst -------------------------------------------------------------------------------- /t/jstest/0200_eval_error.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0200_eval_error.jst -------------------------------------------------------------------------------- /t/jstest/0200_subscribe_same_callback.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0200_subscribe_same_callback.jst -------------------------------------------------------------------------------- /t/jstest/0210_no_req_if_execute_in_callback.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0210_no_req_if_execute_in_callback.jst -------------------------------------------------------------------------------- /t/jstest/0300_unsubscribe.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/0300_unsubscribe.jst -------------------------------------------------------------------------------- /t/jstest/JsTest/JsTest.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/JsTest/JsTest.css -------------------------------------------------------------------------------- /t/jstest/JsTest/JsTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/JsTest/JsTest.js -------------------------------------------------------------------------------- /t/jstest/JsTest/JsTestIterator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/JsTest/JsTestIterator.js -------------------------------------------------------------------------------- /t/jstest/contrib/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /t/jstest/contrib/iframe.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/contrib/iframe.php -------------------------------------------------------------------------------- /t/jstest/contrib/init.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/contrib/init.php -------------------------------------------------------------------------------- /t/jstest/contrib/tests_result.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/jstest/contrib/tests_result.php -------------------------------------------------------------------------------- /t/profile/ab/ab.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/profile/ab/ab.patch -------------------------------------------------------------------------------- /t/profile/dklab_realplexor.conf: -------------------------------------------------------------------------------- 1 | $CONFIG{VERBOSITY} = 1; 2 | 3 | return 1; -------------------------------------------------------------------------------- /t/profile/profile.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/profile/profile.pl -------------------------------------------------------------------------------- /t/servertest/010_send.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/010_send.phpt -------------------------------------------------------------------------------- /t/servertest/025_send_multi_with_stamp.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/025_send_multi_with_stamp.phpt -------------------------------------------------------------------------------- /t/servertest/026_send_ignore_referrer.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/026_send_ignore_referrer.phpt -------------------------------------------------------------------------------- /t/servertest/027_send_multi_limited.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/027_send_multi_limited.phpt -------------------------------------------------------------------------------- /t/servertest/030_pass_to_connected.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/030_pass_to_connected.phpt -------------------------------------------------------------------------------- /t/servertest/040_stamp_compare_empty.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/040_stamp_compare_empty.phpt -------------------------------------------------------------------------------- /t/servertest/045_not_grouped_sequence.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/045_not_grouped_sequence.phpt -------------------------------------------------------------------------------- /t/servertest/047_grouped_sorted.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/047_grouped_sorted.phpt -------------------------------------------------------------------------------- /t/servertest/049_multiple_matched_read_own_ids_only.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/049_multiple_matched_read_own_ids_only.phpt -------------------------------------------------------------------------------- /t/servertest/050_pass_to_online_buffered_multi.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/050_pass_to_online_buffered_multi.phpt -------------------------------------------------------------------------------- /t/servertest/060_multiple_matched_limited.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/060_multiple_matched_limited.phpt -------------------------------------------------------------------------------- /t/servertest/070_pass_to_connected_readmulti.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/070_pass_to_connected_readmulti.phpt -------------------------------------------------------------------------------- /t/servertest/210_stats_after_wait.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/210_stats_after_wait.phpt -------------------------------------------------------------------------------- /t/servertest/215_online_cmd.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/215_online_cmd.phpt -------------------------------------------------------------------------------- /t/servertest/220_watch_event_online_offline.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/220_watch_event_online_offline.phpt -------------------------------------------------------------------------------- /t/servertest/222_watch_event_empty.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/222_watch_event_empty.phpt -------------------------------------------------------------------------------- /t/servertest/225_watch_event_initial.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/225_watch_event_initial.phpt -------------------------------------------------------------------------------- /t/servertest/230_watch_event_chain_size_pl.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/230_watch_event_chain_size_pl.phpt -------------------------------------------------------------------------------- /t/servertest/240_watch_event_no_extra_offline.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/240_watch_event_no_extra_offline.phpt -------------------------------------------------------------------------------- /t/servertest/320_rotate_queue.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/320_rotate_queue.phpt -------------------------------------------------------------------------------- /t/servertest/325_rotate_queue_with_same_id.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/325_rotate_queue_with_same_id.phpt -------------------------------------------------------------------------------- /t/servertest/330_cleanup_queue_on_expire.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/330_cleanup_queue_on_expire.phpt -------------------------------------------------------------------------------- /t/servertest/400_iframe.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/400_iframe.phpt -------------------------------------------------------------------------------- /t/servertest/410_script.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/410_script.phpt -------------------------------------------------------------------------------- /t/servertest/500_login_send_unknown_user.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/500_login_send_unknown_user.phpt -------------------------------------------------------------------------------- /t/servertest/510_login_send_wrong_pass.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/510_login_send_wrong_pass.phpt -------------------------------------------------------------------------------- /t/servertest/520_login_send_pass_skip_not_own.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/520_login_send_pass_skip_not_own.phpt -------------------------------------------------------------------------------- /t/servertest/530_login_send_ok.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/530_login_send_ok.phpt -------------------------------------------------------------------------------- /t/servertest/535_login_online_no_id.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/535_login_online_no_id.phpt -------------------------------------------------------------------------------- /t/servertest/540_login_online_not_own.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/540_login_online_not_own.phpt -------------------------------------------------------------------------------- /t/servertest/540_login_watch.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/540_login_watch.phpt -------------------------------------------------------------------------------- /t/servertest/600_send_empty_id.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/600_send_empty_id.phpt -------------------------------------------------------------------------------- /t/servertest/700_max_mem_mb.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/700_max_mem_mb.phpt -------------------------------------------------------------------------------- /t/servertest/fixture/iframe_large.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/fixture/iframe_large.conf -------------------------------------------------------------------------------- /t/servertest/fixture/iframe_stub.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/fixture/iframe_stub.conf -------------------------------------------------------------------------------- /t/servertest/fixture/iframe_stub.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/fixture/iframe_stub.html -------------------------------------------------------------------------------- /t/servertest/fixture/max_mem_mb.conf: -------------------------------------------------------------------------------- 1 | $CONFIG{MAX_MEM_MB} = 0.5; 2 | 3 | return 1; 4 | -------------------------------------------------------------------------------- /t/servertest/fixture/medium_offline_timeout.conf: -------------------------------------------------------------------------------- 1 | $CONFIG{OFFLINE_TIMEOUT} = 2; 2 | 3 | return 1; 4 | -------------------------------------------------------------------------------- /t/servertest/fixture/non_anonymous.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/fixture/non_anonymous.conf -------------------------------------------------------------------------------- /t/servertest/fixture/non_anonymous.htpasswd: -------------------------------------------------------------------------------- 1 | user:32qjML0Qsbo8o 2 | -------------------------------------------------------------------------------- /t/servertest/fixture/script_stub.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/fixture/script_stub.conf -------------------------------------------------------------------------------- /t/servertest/fixture/script_stub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/fixture/script_stub.js -------------------------------------------------------------------------------- /t/servertest/fixture/small_chain_len.conf: -------------------------------------------------------------------------------- 1 | $CONFIG{EVENT_CHAIN_LEN} = 3; 2 | 3 | return 1; 4 | -------------------------------------------------------------------------------- /t/servertest/fixture/small_cleanup_timeout.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/fixture/small_cleanup_timeout.conf -------------------------------------------------------------------------------- /t/servertest/fixture/small_offline_timeout.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/fixture/small_offline_timeout.conf -------------------------------------------------------------------------------- /t/servertest/fixture/small_queue_sz.conf: -------------------------------------------------------------------------------- 1 | $CONFIG{MAX_DATA_FOR_ID} = 2; 2 | 3 | return 1; 4 | -------------------------------------------------------------------------------- /t/servertest/fixture/small_wait_timeout.conf: -------------------------------------------------------------------------------- 1 | $CONFIG{WAIT_TIMEOUT} = 2; 2 | 3 | return 1; 4 | -------------------------------------------------------------------------------- /t/servertest/init.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/init.php -------------------------------------------------------------------------------- /t/servertest/run_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/run_all.sh -------------------------------------------------------------------------------- /t/servertest/run_all_forever.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/run_all_forever.sh -------------------------------------------------------------------------------- /t/servertest/run_apply_ok_out.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/run_apply_ok_out.pl -------------------------------------------------------------------------------- /t/servertest/run_diff.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dimikot/dklab_realplexor/HEAD/t/servertest/run_diff.pl --------------------------------------------------------------------------------