| 147 | } |
| 148 | |
| 149 | int test_container_default_vhost() { |
| 150 | proton::connection_options opts; |
| 151 | test_handler th("127.0.0.1", opts); |
| 152 | proton::container(th).run(); |
| 153 | ASSERT_EQUAL(th.peer_vhost, "127.0.0.1"); |
| 154 | return 0; |
| 155 | } |
| 156 | |
| 157 | int test_container_no_vhost() { |
| 158 | // explicitly setting an empty virtual-host will cause the Open |