summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-client.c
AgeCommit message (Collapse)Author
2018-10-01relay: remove useless test on num_sentSébastien Helleu
2018-09-30relay: add real IP in client description (closes #1256)Sébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-03-25relay: check that pointers received in arguments are not NULL in "free" ↵Sébastien Helleu
functions Functions: - relay_irc_free - relay_client_outqueue_free - relay_raw_message_free - relay_weechat_msg_free - relay_weechat_nicklist_item_free - relay_weechat_nicklist_free - relay_weechat_free
2017-01-11relay: make HTTP headers case-insensitive for WebSocket connections (closes ↵Sébastien Helleu
#888)
2017-01-01core: update copyright datesSébastien Helleu
2016-06-18api: remove functions printf_date() and printf_tags()Sébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-02-08relay: fix the max number of clients connected on a port, allow value 0 for ↵Sébastien Helleu
"no limit" (closes #669)
2016-02-06relay: do not print final '\0' in raw message for a websocket PING message ↵Sébastien Helleu
received
2016-02-06relay: fix websocket frame decoding, answer a PONG to PING (closes #675)Sébastien Helleu
2016-02-04relay: fix commentSébastien Helleu
2016-02-02relay: fix typo in a commentSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-09-13relay: remove useless condition always evaluated to trueSébastien Helleu
2015-06-13relay: add a variable to read only one time the HTTP header "X-Real-IP" in ↵Sébastien Helleu
the hashtable
2015-06-11relay: print value of HTTP Header X-Real-IPTor Hveem
When relay plugin gets a new successfull handshake for a relay connection using websocket it will look for HTTP header X-Real-IP which is commonly used when proxying connections. This allows users of WeeChat and proxy to see the client's real IP address instead of the address of the HTTP proxy.
2015-04-30core: add comments after some #endifSébastien Helleu
2015-01-21core: add gnutls version in #if compiler directivesSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-10-26relay: add option relay.network.ssl_priorities (closes #234)Sébastien Helleu
2014-09-26relay: fix send of signals "relay_client_xxx" (closes #214)Sébastien Helleu
The signals about relay client status changes were sent only when the client has ended. Now it is went on any status change.
2014-08-09relay: fix memory leak when receiving several lines from client (weechat ↵Sébastien Helleu
protocol)
2014-08-02relay: fix number of bytes sent/received on 32-bit systemsSébastien Helleu
2014-05-08relay: reformat commentSébastien Helleu
2014-05-08relay: fix disconnection of client on empty websocket framesTor Hveem
WeeChat disconnects any client when a frame with length 0 is recieved.
2014-03-05relay: add info "relay_client_count" with optional status name as argumentSebastien Helleu
Use in evaluated strings (for example in /eval or triggers): - "${info:relay_client_count}": total number of relay clients (any status) With a specific status: - "${info:relay_client_count,connecting}" - "${info:relay_client_count,waiting_auth}" - "${info:relay_client_count,connected}" - "${info:relay_client_count,auth_failed}" - "${info:relay_client_count,disconnected}"
2014-03-05relay: add signals "relay_client_xxx" for client status changes (closes #2)Sebastien Helleu
New signals: - relay_client_connecting - relay_client_waiting_auth - relay_client_connected - relay_client_auth_failed - relay_client_disconnected
2014-02-23relay: add option relay.network.clients_purge_delaySebastien Helleu
2014-02-22relay: remove dead assignment in function relay_client_recv_cbSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-02-12relay: fix crash when decoding a websocket frameSebastien Helleu
2013-02-10relay: add experimental websocket server support (RFC 6455) for irc and ↵Sebastien Helleu
weechat protocols, new option relay.network.websocket_allowed_origins It is a partial implementation of RFC 6455: fragmentation and control frames are not yet supported. Text and binary frames are supported.
2013-01-01core: update copyright datesSebastien Helleu
2012-12-24relay: add backlog, options and server capability "server-time" for irc ↵Sebastien Helleu
protocol (task #12076) New options: - relay.irc.backlog_max_minutes - relay.irc.backlog_max_number - relay.irc.backlog_since_last_disconnect - relay.irc.backlog_tags - relay.irc.backlog_time_format
2012-12-23relay: fix crash after /upgrade when a client is connectedSebastien Helleu
2012-12-21relay: add tag "relay_client" in all messages about clientNils Görs
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-10-18core: fix gnutls warningsstfn
2012-09-26relay: add tag "relay_client" for messages of new/disconnected clientSebastien Helleu
2012-07-30relay: set Diffie-Hellman parameters on first SSL connection from a client ↵Sebastien Helleu
(makes relay plugin load faster), reuse function gnutls_sec_param_to_pk_bits
2012-07-27relay: remove compiler warnings when gnutls is not enabled/foundSebastien Helleu
2012-07-27relay: add support of SSL (for irc and weechat protocols), new option ↵Sebastien Helleu
relay.network.ssl_cert_key (task #12044)
2012-07-17relay: move creation of client from relay-upgrade.c to relay-client.cSebastien Helleu
2012-07-14relay: fix freeze when writing on relay socket (use non-blocking sockets in ↵Sebastien Helleu
relay for irc and weechat protocols) (bug #36655)
2012-03-18relay: redirect some irc messages from clients to hide output (bug #33516)Sebastien Helleu
Messages redirected by relay plugin: mode, ison, list, names, topic, who, whois, whowas, time, userhost.