=== Test case: mim_c2s_SUITE:too_big_opening_tag_is_rejected/1 (click for source code)

=== Config value:

    [{c2s_listener,
         #{access => c2s,module => mongoose_c2s_listener,port => 5222,
           num_acceptors => 100,hibernate_after => 0,backlog => 1024,
           tls =>
               #{module => fast_tls,mode => starttls,
                 certfile => "priv/ssl/fake_server.pem",
                 ciphers => "TLSv1.2:TLSv1.3",
                 dhfile => "priv/ssl/fake_dh_server.pem",verify_mode => none,
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
           backwards_compatible_session => true,shaper => c2s_shaper,
           ip_address => "0",max_stanza_size => 65536,
           c2s_state_timeout => 5000,proto => tcp,
           connection_type => undefined,max_connections => infinity,
           ip_version => 4,
           ip_tuple => {0,0,0,0},
           proxy_protocol => false,reuse_port => false}},
     {watchdog,<0.1427.0>},
     {escalus_overrides,
         [{initial_activity,#Fun<mim_c2s_SUITE.0.17191332>},
          {start_ready_clients,fun mim_c2s_SUITE:escalus_start/2}]},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/mim_c2s_SUITE_data"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-15_15.52.32/mim_c2s_suite.too_big_opening_tag_is_rejected.132.html"},
     {tc_group_properties,[{name,basic},parallel]},
     {tc_group_path,[]},
     {data_dir,
         "/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mim_c2s_SUITE_data/"},
     {priv_dir,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-15_15.52.32/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}},
     {escalus_users,
         [{alice,
              [{username,<<"alicE">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"matygrysa">>},
               {connection_steps,
                   [start_stream,stream_features,maybe_use_ssl,authenticate,
                    bind]}]},
          {alice_bis,
              [{username,<<"alicE">>},
               {server,<<"domain.example.org">>},
               {host,<<"localhost">>},
               {password,<<"matygrysa">>}]},
          {bob,
              [{username,<<"bOb">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"makrolika">>},
               {connection_steps,
                   [start_stream,stream_features,maybe_use_ssl,authenticate,
                    bind]}]},
          {carol,
              [{username,<<"carol">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"jinglebells">>},
               {transport,escalus_bosh},
               {path,<<"/http-bind">>},
               {port,5280}]},
          {geralt_s,
              [{username,<<"geralt_s">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"witcher_s">>},
               {transport,escalus_ws},
               {ssl,true},
               {port,5285},
               {wspath,<<"/ws-xmpp">>},
               {ssl_opts,[{verify,verify_none}]}]},
          {carol_s,
              [{username,<<"carol_s">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"jinglebells_s">>},
               {transport,escalus_bosh},
               {ssl,true},
               {path,<<"/http-bind">>},
               {port,5285},
               {ssl_opts,[{verify,verify_none}]}]},
          {kate,
              [{username,<<"kate">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"makrowe;p">>}]},
          {mike,
              [{username,<<"mike">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"nicniema">>}]},
          {geralt,
              [{username,<<"geralt">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"witcher">>},
               {transport,escalus_ws},
               {port,5280},
               {wspath,<<"/ws-xmpp">>}]},
          {admin,
              [{username,<<"admin">>},
               {server,<<"localhost">>},
               {password,<<"bruce_almighty">>}]},
          {secure_joe,
              [{username,<<"secure_joe">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"break_me">>},
               {starttls,required}]},
          {clusterguy,
              [{username,<<"clusterguy">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"distributionftw">>},
               {port,5232}]},
          {clusterbuddy,
              [{username,<<"clusterbuddy">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"wasssssssup">>},
               {port,5232}]},
          {alice3,
              [{username,<<"alice">>},
               {server,<<"example.com">>},
               {host,<<"localhost">>},
               {password,<<"makota2">>}]},
          {bob3,
              [{username,<<"bob">>},
               {server,<<"example.org">>},
               {host,<<"localhost">>},
               {password,<<"makota3">>},
               {port,5232}]},
          {john,
              [{username,<<"john">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"cosontuma">>}]},
          {neustradamus,
              [{username,<<"neustradamus">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"scramshaplus">>},
               {starttls,required},
               {tls_module,fast_tls}]},
          {hacker,
              [{username,<<"hacker">>},
               {server,<<"domain.example.com">>},
               {host,<<"localhost">>},
               {password,<<"bringdowntheserver">>},
               {port,5223}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@82e417e9e7f3.2024-04-15_15.52.32"

=== Started at 2024-04-15 15:52:33


*** CT 2024-04-15 15:52:33.131 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_19.html

*** User 2024-04-15 15:52:33.239 ***🔗
alicE_too_big_opening_tag_is_rejected_10@domain.example.com out
<stream:stream bigattr='15a3d02c09c77a77e2c1aec3c165c878c19bda29a545c874db1cecb635168c91e87fae1582a0ad55ce5b7a1bef8992a7f039e8e5d6383857b5c82725c5777168d202a094fbd0924db3a5a50cd4b697b3d0fd448e0a0d3ddd555e0005b28920869add6b646ce1e5c6d2f36af64c6de604d37477038939eeb9dbe1c42788074d21356f07fa82a99ec0c4724d2fb66d3a5bde3ee08130847548c13eb1255a02588b5b48241e7283eba0c7bbc1feb3f97f6d69dd1c071a2b673258e96da7ba14d9c69a7307ca45568bab19ab76e4a25b49d57e08f20afd323d62b4ac90abf110f54d294e2474dba7082999b5680dfc04988df6d967009f5b5f188466bdf0cada76c50a8ef7781454cc72f3b9b8382512b865bd7dc2c4a8353285812c9b7b1703af28a8a9246f949f4eea1006e08002ee0e58e4c16e93220ba1e4e5ab60fc1ded7ca49d76373f4fa3bee21318eaf16c9f1569df9649de3f5b89c025c94d4a3595abb73639a2fae7458c633edcaf4be769bcba09c5f25cf209843585a1fe122e1e2c31d7ac5387a84ea194aefd15d6ba117f2fa79e949d41a96ae8aa5b54580023de3f0ef84004b493036da85e454f26faa94cae3f7efdb626b06aa19f1b67d6a6a434678f9c726e138bdaa5b54c43887bc6dc4b84324d8eb736ef5b8ed2f14c23ca0732c283956e95184462024a0302224ba5af60cd02a2fad9d65244529058d9d58374fc87a9cb77734057f3a611c6ff2b9c342feb576de37815d8cef6d3702975de08bf3dc72a63427a9fca0d62ffff53e7139ebb6e78f7d347eac37fb716ab09b76a53767b1734c2e3449d5d0323708597e3a9e58170f6d33e834ed0cfcd97d70ba0e292d078fa705b8f11efeb5013381ada5b69b4aea42efb3fb9362a79a545fd38925f24d921053daca202ab1578c66e0fa3a3635c3575073b3a46f4bd03ae62bd75d013c60901aa62471ade4a8d7c311d16742bbc6d9871090dc06c0d27d6a344c1b917acea0d4002bdbf4705ccc71aae89c016f1556a7a344395400a2e49f5179eba0fe5c0e17039b4728e235e482ecbd7add9fec6ff800e20e3abab982fc3171f693141c3b0b85b9273fbadeed0aebecb92af5fa8d66bbccdc1488ef2093b3abae444ae6907a27c837a79ea2189260f05779172d95cedb4ab23cc493a5547376097ff98adcac57924867a2fcee49b3d3764fef213a7df508e418ff17cda958bcaa8ef308ea51271ac7ddb6e5e70dd0336234218803325277fa0e94dea285bf449260f6777a4982aa138bffeac0bdda4df506f00997cf9a2b45b7beef6835766264dc9f1022695b7d63862227f605b8eb4592e93f0db2b8f3ab2c3d8b7cdb7dbb83315de66fa1ba922ea4f6d12476cb70b1ce9d5a9c36de7a358994d5ef0b761fa0ceafb90b2b59523f3c57a134c6872c48981a7acc584bfb8c610f7cb5dec'/>



*** User 2024-04-15 15:52:33.239 ***🔗
alicE_too_big_opening_tag_is_rejected_10@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f27c887f3c545926' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 15:52:33.251 ***🔗
alicE_too_big_opening_tag_is_rejected_10@domain.example.com in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-04-15 15:52:33.251 ***🔗
alicE_too_big_opening_tag_is_rejected_10@domain.example.com in
</stream:stream>
*** CT 2024-04-15 15:52:33.260 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_25.html



=== Ended at 2024-04-15 15:52:33
=== successfully completed test case
=== === Returned value: true