Skip to content

Conversation

poVoq
Copy link
Owner

@poVoq poVoq commented Sep 14, 2025

test

Frank Braun and others added 30 commits April 22, 2018 21:35
This allows to use a different writer than os.Stderr to write debugging
output to.
process subscription="remove" roster
improve roster process
mv new example.go to other repo
Fix client no StartTLS & server no required
implement DNS SRV lookup for NewClient method
* respect enviroment var no_proxy

* add method to send IQ messages without <query> element

* check also for uppercase NO_PROXY  env

* Uppercase NO_PROXY takes precedence over no_proxy as in HTTP_PROXY

* add comments

* revert copyright to the original one
…ut body (xmppo#117)

Co-authored-by: Qais Patankar <qaisjp@gmail.com>

Co-authored-by: ValdikSS <iam@valdikss.org.ru>
This squashed series of commits implements basic
PubSub functionality like requesting data or
subscribing to a PubSub node.
* Implement XEP-0084 (User Avatar)

* Fix style with gofmt
tls.Config contains fields of type sync.Once and sync.RWMutex. My understanding
is that if the copy happens to occur while the lock is in a locked state, the
lock will remain locked indefinitely and cause a deadlock. Instead use
tls.Config.Clone() to create a shallow copy.

Also the lock copy made `go vet` upset:

$ go vet ./...
./xmpp.go:242:17: assignment copies lock value to newconfig: crypto/tls.Config contains sync.Once contains sync.Mutex
./xmpp.go:530:9: assignment copies lock value to *tc: crypto/tls.Config contains sync.Once contains sync.Mutex
Fix a typo in the code comments.
* Prevent crash on empty urn:xmpp:avatar:* nodes

* Fix issue with errors

* Add a test for empty avatar pubsub items
This commit allows the user to query information about the server
or a node belonging to the server as per XEP-0030.
@poVoq poVoq changed the base branch from master to matterbridge September 14, 2025 19:40
@poVoq poVoq merged commit 679038b into poVoq:matterbridge Sep 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.