Skip to content

Wildcard functionality is broken in the latest version of Sol. #11

Description

@pipimonkey35

I built and used the latest branch of sol. Although the README.md claims it supports wildcards, I found that it doesn't seem to work. Could there be something wrong with my setup?

$ ./sol -c ../conf/sol.conf 
1748743632 Sol v0.18.5 is starting
1748743632 Network settings:
1748743632 	Socket family: TCP
1748743632 	Address: 127.0.0.1
1748743632 	Port: 1883
1748743632 	Tcp backlog: 128
1748743632 	Keepalive: 60
1748743632 	File handles soft limit: 1024
1748743632 	Max request size: 50Mb
1748743632 Logging:
1748743632 	level: DEBUG
1748743632 	logpath: /tmp/sol.log
1748743632 Max memory: 2Gb
1748743632 Event loop backend: epoll
1748743633 Server start
1748743633 [0x7f3cdf07c740] Connection from 127.0.0.1:56476
1748743633 New client connected as sol-1748743633994531 (c1, k60)
1748743633 Sending CONNACK to sol-1748743633994531 (0, 0)
1748743633 Received SUBSCRIBE from sol-1748743633994531
1748743633 	foo/+/baz (QoS 0)
1748743633 Sending SUBACK to sol-1748743633994531
1748743653 [0x7f3cdf07c740] Connection from 127.0.0.1:33908
1748743653 New client connected as sol-1748743653538156 (c1, k60)
1748743653 Sending CONNACK to sol-1748743653538156 (0, 0)
1748743653 Received PUBLISH from sol-1748743653538156 (d0, q0, r0, m0, foo/1/baz, ... (140720308486150 bytes))
1748743653 Received DISCONNECT from sol-1748743653538156

subscriber:

$ mosquitto_sub -t "foo/+/baz"   

publisher:

$ mosquitto_pub -t "foo/1/baz" -m "123123"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions