=== 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"]},
           ip_address => "0",ip_version => 4,
           ip_tuple => {0,0,0,0},
           proto => tcp,proxy_protocol => false,shaper => c2s_shaper,
           max_stanza_size => 65536,backwards_compatible_session => true,
           c2s_state_timeout => 5000,max_connections => infinity,
           reuse_port => false,connection_type => undefined}},
     {watchdog,<0.1425.0>},
     {escalus_overrides,
         [{initial_activity,#Fun<mim_c2s_SUITE.0.17191332>},
          {start_ready_clients,fun mim_c2s_SUITE:escalus_start/2}]},
     {preset,"odbc_mssql_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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.mim_c2s_SUITE.logs/run.2024-02-26_15.40.28/mim_c2s_suite.too_big_opening_tag_is_rejected.772.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.mim_c2s_SUITE.logs/run.2024-02-26_15.40.28/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_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_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {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@c558b6ad2bd8.2024-02-26_15.40.27"

=== Started at 2024-02-26 15:40:28


*** CT 2024-02-26 15:40:28.357 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_19.html

*** User 2024-02-26 15:40:28.488 ***🔗
alicE_too_big_opening_tag_is_rejected_11@domain.example.com out
<stream:stream bigattr='939df2dc5f8507585fa79cbdea3c50ee0f3eb42d14e0923f5a6724f8420e3ae0b7c76d759a170e4944752fce304352ea36f96d4f86d5e1129f61e02f49a5d2c2e94dc576ba9a00dc9327bf3f93aed602f254666402734157c248f8f7c088e86271b5526466f936a6a1f1937ddfcee6aa79b88259f70f72157de3dc7a4b09838bfb3b2751ff7ff6a1fafeba9311d51f6b9251bea665cb038ee3c287b2a562078d2cc1ce70c95d94a1bcb3c513c8820d708cc24e82ceadb76e509d45192f58af1546b2f47b86b0f87db135864b009446dd5afb56fe86259d9a285e8a6778c37396892c037e11477f8c49e909d7e54c72c6e70e8b7290f35bdf9953959b70c013fae24092df0f045e02fc980129c3ff064fbb372f644d2eac4bdf073159cdbc2841f36b6bf51a2b2ada3c826713f758885859901236edc96b4618608b5f87bc597231484728d9fc602ff844774a63985c60db4bf29f503f97d6e9b0c478803adcf13e42299012dd2d458e1fc56d11101f76d55f33e941553b377c704f9784aacdb3548675ff9a45d8f8288b17ea6adf731698c3112303b163b5c0e2f36ce85025b39f148a4ee75adb6e227f3c841bc45daccc342a1092c3caba2233fb82e75ca3fd35eba249dfa3385529520ffb02a448b5ff53e2fd130ca1cc0575c14c9dad775b695adea697f81aafc43fb8ba7f3578bce3f9a7f1fc8165c67c910ef7f89c88daeffa9e3691141407ecfcbf03e7cc0b95fe4436a69e40c7263242e39e32c5233c70dc25df0bb6645af3d0803d652acf456ea98417bfaff54aa1520907b08ab46644b0fbb296577fc9d04324efd09f404f96cc93c8089c2e6b4969d42d2234b52652e5bb646722aeb504543381f58da2208e862ae900447fb9c12711c8d00cb694d6c63f7b8f539b60ec797b740fa915c812be326af4ed4d30a0fc254305e86107fb90bba8685ea31c6761bb0d8a348ad55130ca39b51479944f82853e81b8164b24da8feda53a1d35b31532d5477cb2bcb1afb476a2a5649e5f449c10749a581e59f7b6025de41c368fcd3d8a66250053ddda5ca0876d227ccb9e591390f43f1147bd70fb933558e5938b96ee4276b22ed3ab11a8793f5a90ad7379f82d9420f07f4103e1feb81251b7b03c0f0ecaf1bd86a1d496c462bb5b62383bf1c637c10b2d517af1dd1c00ea4cecf8bb002b7f47c3d8966e085120ff5ac5a0b133398f537015adba69d6c12dd1496cd15881f7de8cad960e8779898fe3d73dbf8709ad525ef5d09d0175e51af7425d56f0e0f8fbd31db3d0079e5136d726d64bdb399341f925fc63205d0f964f13f69c1dc8f1da1f43eefbfd63e190667ba61a0d28fce8ad5ec9cd301d83f54b9f315366c1990de0f57cbda9ea18fa7c1bca0f8bbd70dd6efc472a65a685bd914a268bd2f6383ea120f8245985836da0bf57b0aea2c341'/>



*** User 2024-02-26 15:40:28.490 ***🔗
alicE_too_big_opening_tag_is_rejected_11@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0accfbd623ce2a25' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:40:28.503 ***🔗
alicE_too_big_opening_tag_is_rejected_11@domain.example.com in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-02-26 15:40:28.503 ***🔗
alicE_too_big_opening_tag_is_rejected_11@domain.example.com in
</stream:stream>
*** CT 2024-02-26 15:40:28.515 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_25.html



=== Ended at 2024-02-26 15:40:28
=== successfully completed test case
=== === Returned value: true