summaryrefslogtreecommitdiff
path: root/doc/en/weechat_plugin_api.en.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-08-08 14:20:48 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-08-08 14:20:48 +0200
commit777fa366d79e4f422615006d842dd921ff2fb044 (patch)
tree7d14541b729f644836556d259fce5066f255ae35 /doc/en/weechat_plugin_api.en.txt
parent46bc18193397a8a3d5b756f1ffeda8c5f725d9b4 (diff)
downloadweechat-777fa366d79e4f422615006d842dd921ff2fb044.zip
core: fix connection to host in child process when socket is non-blocking (with or without proxy)
Diffstat (limited to 'doc/en/weechat_plugin_api.en.txt')
-rw-r--r--doc/en/weechat_plugin_api.en.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index 0e6201878..2023eb2d7 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -11758,6 +11758,10 @@ weechat_network_pass_proxy
Establish a connection/authentification to a proxy.
+[IMPORTANT]
+This function is blocking on call to connect(), so it must be called in a forked
+process only, to not block WeeChat.
+
Prototype:
[source,C]
@@ -11801,6 +11805,10 @@ weechat_network_connect_to
Establish a connection to a remote host.
+[IMPORTANT]
+This function is blocking on call to connect(), so it must be called in a forked
+process only, to not block WeeChat.
+
Prototype:
[source,C]