Change Summary:
Make tls a list and use constants for all of the options
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+852) |
Review Request #2866 — Created Dec. 4, 2023 and submitted
Right now this just establishes a TCP connection via SRV record and nothing more.
Connected to pidginchat.com successfully and verified the traffic via charles proxy.
Summary | ID |
---|---|
4e897d4341e0f24255330426bc164101842eeeef |
Description | From | Last Updated |
---|---|---|
After a bunch of thought, it seems like moving the actual connection stuff into Xeme is the ideal way to … |
grim | |
Did you mean to do *error == NULL? |
ivanhoe | |
local_error must be non-NULL, which is not guaranteed by the condition above. |
ivanhoe | |
leak |
ivanhoe | |
This appears to need clearing in dispose or finalize? |
QuLogic | |
Need to clear resolver in here, as this condition could still be true with a resolver, but local_error != NULL. |
QuLogic | |
Space around ** in wrong spot. |
QuLogic |
Make tls a list and use constants for all of the options
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+852) |
remove the default resource stuff as we don't need it yet.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+832) |
Added fallbacks for tls srv and clear srv and wired up xeme
Testing Done: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Commits: |
|
|||||||
Diff: |
Revision 4 (+1410) |
After a bunch of thought, it seems like moving the actual connection stuff into Xeme is the ideal way to go because making everyone implement this is insane.
I'll leave this open for now as reference, but by adding a
XemeConnection
object we can set properties and stuff on it from the account options and then callXemeConnection.connect_async
to start the actual process and then obviousXemeConnection.connect_finish
to get the results.
migrate to the new XemeConnection object
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 5 (+746 -2) |
protocols/xmpp/purplexmppconnection.c (Diff revision 5) |
---|
local_error
must be non-NULL, which is not guaranteed by the condition above.
rebased and addressed error handling stuff
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 6 (+746 -2) |
protocols/xmpp/purplexmppconnection.c (Diff revision 6) |
---|
This appears to need clearing in
dispose
orfinalize
?
protocols/xmpp/purplexmppconnection.c (Diff revision 6) |
---|
Need to clear
resolver
in here, as this condition could still be true with a resolver, butlocal_error != NULL
.
address more issues
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 7 (+752 -2) |
depend on the latest version of xeme that fixes a memory leak.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 8 (+752 -2) |