Project

General

Profile

Bug #1760

Странное поведение при включении опций поведения прокси

Added by Mellon almost 7 years ago. Updated over 6 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
10/18/2014
Due date:
% Done:

0%

Estimated time:
Reported in:
master

Description

В общем, надо разобраться, что конкретно делают и на что и как влияют, а на что не влияют вот эти вот две опции:

То есть, подробно, как именно изменится поведение при их включении и отключении. как они между собой связаны, нужно ли включать первую опцию, если включена вторая?

А теперь, собственно, проблемки. они тесно связаны с азотом.
Если актвирована опция "Включить глобально", то при изменении xmpp-аккаунта, требующем реконнекта, он не может приконнектится сам автоматом, вываливаю в варнинг.лог

[18.10.2014 11:34:52.311] [0x7fac433fe040] [380] QAbstractSocket::connectToHost() called when already looking up or connecting/connected to "81.7.6.103" 

в логе ксукса:
сб окт 18 11:34:52 2014 SENT <presence type="unavailable"><status>Я на связи!</status><priority>4</priority><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://leechcraft.org/azoth" ver="pAQQvKcA0utN+UfWqMunLktHKdo="/></presence>
сб окт 18 11:34:52 2014 SENT </stream:stream>
сб окт 18 11:34:52 2014 SENT </stream:stream>
сб окт 18 11:34:52 2014 INFO Connecting to 81.7.6.103:5222
сб окт 18 11:34:52 2014 DEBUG Socket disconnected

если деактивировать опцию "Включить глобально", то реконнектит успешно.
Далее, если после этого вручную законнектиться, то в ростере у этого аккаунта не буде самококонтакта:

Немного дебага:
==> .leechcraft/warning.log <==
[18.10.2014 11:34:52.311] [0x7fac433fe040] [380] QAbstractSocket::connectToHost() called when already looking up or connecting/connected to "81.7.6.103" 
==> .leechcraft/debug.log <==
[18.10.2014 11:41:00.946] [0x7fac433fe040] [381] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:00.947] [0x7fac433fe040] [382] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:00.947] [0x7fac433fe040] [383] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:00.947] [0x7fac433fe040] [384] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:00.947] [0x7fac433fe040] [385] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:00.947] [0x7fac433fe040] [386] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:00.947] [0x7fac433fe040] [387] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:00.948] [0x7fac433fe040] [388] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:00.948] [0x7fac433fe040] [389] virtual QIcon LeechCraft::IconThemeEngine::GetIcon(const QString&, const QString&) no icon for "" "" "oxygen" ("/home/demo/.leechcraft/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
[18.10.2014 11:41:12.445] [0x7fac433fe040] [390] virtual bool QXmppRosterManager::handleStanza(const QDomElement&) 
[18.10.2014 11:41:12.445] [0x7fac433fe040] [391] virtual void QXmppRosterIq::parseElementFromChild(const QDomElement&) "item" "" "lctu0@jabbim.cz" 
[18.10.2014 11:41:12.445] [0x7fac433fe040] [392] virtual void QXmppRosterIq::parseElementFromChild(const QDomElement&) "item" "" "lctu2@leechcraft.org" 
[18.10.2014 11:41:12.445] [0x7fac433fe040] [393] virtual void QXmppRosterIq::parseElementFromChild(const QDomElement&) "item" "" "lctu4@leechcraft.org" 
[18.10.2014 11:41:12.445] [0x7fac433fe040] [394] virtual void QXmppRosterIq::parseElementFromChild(const QDomElement&) parsed 3 items 
[18.10.2014 11:41:12.446] [0x7fac433fe040] [395] virtual bool QXmppRosterManager::handleStanza(const QDomElement&) got roster IQ items 3 true 
[18.10.2014 11:41:12.446] [0x7fac433fe040] [396] virtual bool QXmppRosterManager::handleStanza(const QDomElement&) inserting item "lctu0@jabbim.cz" 
[18.10.2014 11:41:12.446] [0x7fac433fe040] [397] virtual bool QXmppRosterManager::handleStanza(const QDomElement&) inserting item "lctu2@leechcraft.org" 
[18.10.2014 11:41:12.446] [0x7fac433fe040] [398] virtual bool QXmppRosterManager::handleStanza(const QDomElement&) inserting item "lctu4@leechcraft.org" 
[18.10.2014 11:41:12.446] [0x7fac433fe040] [399] QStringList QXmppRosterManager::getRosterBareJids() const ("lctu0@jabbim.cz", "lctu2@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:12.450] [0x7fac433fe040] [400] QStringList QXmppRosterManager::getRosterBareJids() const ("lctu0@jabbim.cz", "lctu2@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:12.450] [0x7fac433fe040] [401] QStringList QXmppRosterManager::getRosterBareJids() const ("lctu0@jabbim.cz", "lctu2@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:12.450] [0x7fac433fe040] [402] QStringList QXmppRosterManager::getRosterBareJids() const ("lctu0@jabbim.cz", "lctu2@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:13.397] [0x7fac433fe040] [403] void LeechCraft::Azoth::Xoox::EntryBase::SetClientVersion(const QString&, const QXmppVersionIq&) "Azoth2" "Gentoo/Linux x86_64 3.16.3-gentoo #1 SMP PREEMPT Sun Oct 5 05:12:41 MSK 2014" 
[18.10.2014 11:41:13.869] [0x7fac433fe040] [404] void LeechCraft::Azoth::Xoox::EntryBase::SetClientVersion(const QString&, const QXmppVersionIq&) "Azoth2" "Gentoo/Linux x86_64 3.16.3-gentoo #1 SMP PREEMPT Sun Oct 5 05:12:41 MSK 2014" 
[18.10.2014 11:41:14.559] [0x7fac433fe040] [405] void LeechCraft::Azoth::Xoox::EntryBase::SetClientVersion(const QString&, const QXmppVersionIq&) "Azoth6" "Gentoo/Linux x86_64 3.16.3-gentoo #1 SMP PREEMPT Sun Oct 5 05:12:41 MSK 2014" 
[18.10.2014 11:41:17.451] [0x7fac433fe040] [406] QStringList QXmppRosterManager::getRosterBareJids() const ("jt@brauchen.info", "lctu1@draugr.de", "lctu2@leechcraft.org", "lctu3@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:17.451] [0x7fac433fe040] [407] QStringList QXmppRosterManager::getRosterBareJids() const ("jt@brauchen.info", "lctu1@draugr.de", "lctu2@leechcraft.org", "lctu3@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:17.452] [0x7fac433fe040] [408] QStringList QXmppRosterManager::getRosterBareJids() const ("jt@brauchen.info", "lctu1@draugr.de", "lctu2@leechcraft.org", "lctu3@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:17.453] [0x7fac433fe040] [409] QStringList QXmppRosterManager::getRosterBareJids() const ("jt@brauchen.info", "lctu1@draugr.de", "lctu2@leechcraft.org", "lctu3@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:17.453] [0x7fac433fe040] [410] QStringList QXmppRosterManager::getRosterBareJids() const ("jt@brauchen.info", "lctu1@draugr.de", "lctu2@leechcraft.org", "lctu3@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:17.453] [0x7fac433fe040] [411] QStringList QXmppRosterManager::getRosterBareJids() const ("lctu0@jabbim.cz", "lctu2@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:17.454] [0x7fac433fe040] [412] QStringList QXmppRosterManager::getRosterBareJids() const ("lctu0@jabbim.cz", "lctu2@leechcraft.org", "lctu4@leechcraft.org") 
[18.10.2014 11:41:17.454] [0x7fac433fe040] [413] QStringList QXmppRosterManager::getRosterBareJids() const ("lctu0@jabbim.cz", "lctu2@leechcraft.org", "lctu4@leechcraft.org") 

STR:
0. В свойствах аккуанта xmpp прописан IP хоста.
1. Активировать опцию поведения прокси "Включить глобально", если не была активной.
2. Изменить ресурс онлайн аккаунта.
3. Подключить аккаунт принудительно.

Expected result:

Actual result:

System information:
LeechCraft 0.6.70-1184-gb7df80c
Built with Qt 4.8.5, running with Qt 4.8.5
Running on: Gentoo/Linux x86_64 3.16.3-gentoo #1 SMP PREEMPT Sun Oct 5 05:12:41 MSK 2014

Also available in: Atom PDF