Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host header - CLI support (--vhost) #421

Closed
wants to merge 1 commit into from
Closed

host header - CLI support (--vhost) #421

wants to merge 1 commit into from

Conversation

nser77
Copy link

@nser77 nser77 commented Jun 4, 2023

Related to #420: now stomp.py will accept --vhost as CLI argument; default is /.

Usage example:

stomp -H 10.1.0.14 -P 61613 -U user -W password -V -S 1.2 --vhost /fake/vhost

STOMP client frame:

STOMP
accept-version:1.2
host:/fake/vhost
login:user
passcode:password

.

STOMP server response frame:

ERROR
message:Bad CONNECT
content-type:text/plain
version:1.0,1.1,1.2
content-length:39

Virtual host '/fake/vhost' access denied.

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.

1 participant