#371 mod_bosh works for every virtualhost (even if explicitly disabled)
Reporter
michele.cella
Owner
Zash
Created
Updated
Stars
★★ (3)
Tags
Status-Fixed
Milestone-0.11
Type-Defect
mod_bosh
Priority-Medium
michele.cella
on
*What steps will reproduce the problem?*
1. add two or more virtualhost(s)
2. add modules_enabled { "bosh" } to ONLY one of them
3. try to connect using BOSH to the OTHER(s) virtualhost(s)
*What is the expected output? What do you see instead?*
BOSH connection to the OTHER virtualhost should fail/be denied
Instead you can connect using BOSH to EVERY virtualhost
*What version of the product are you using? On what operating system?*
0.9.1
*Please provide any additional information below.*
Diff that fixes this issue attached
*What steps will reproduce the problem?* 1. add two or more virtualhost(s) 2. add modules_enabled { "bosh" } to ONLY one of them 3. try to connect using BOSH to the OTHER(s) virtualhost(s) *What is the expected output? What do you see instead?* BOSH connection to the OTHER virtualhost should fail/be denied Instead you can connect using BOSH to EVERY virtualhost *What version of the product are you using? On what operating system?* 0.9.1 *Please provide any additional information below.* Diff that fixes this issue attached
AttachmentsSlightly related to #402
ChangesFixed in https://hg.prosody.im/trunk/rev/81fff93d3bc6
Changes