=== 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,
           shaper => c2s_shaper,
           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",proxy_protocol => false,ip_version => 4,
           ip_tuple => {0,0,0,0},
           max_connections => infinity,reuse_port => false,proto => tcp,
           max_stanza_size => 65536,c2s_state_timeout => 5000,
           backwards_compatible_session => true,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,"mysql_redis"},
     {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@3d87ff50478a.2024-04-15_16.45.55/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-15_16.45.55/mim_c2s_suite.too_big_opening_tag_is_rejected.899.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@3d87ff50478a.2024-04-15_16.45.55/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-15_16.45.55/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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_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@3d87ff50478a.2024-04-15_16.45.55"

=== Started at 2024-04-15 16:45:56


*** CT 2024-04-15 16:45:56.268 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_20.html

*** User 2024-04-15 16:45:56.416 ***🔗
alicE_too_big_opening_tag_is_rejected_8@domain.example.com out
<stream:stream bigattr='eb7132c1c271bd8291730d1dea20338e6eddd5c7dbadd86b167fc80e018a7caf868e09ae71a3a8c916805d6be018506d5986462c6af00117ab5d9b1f5370937ae0242604848600e0feda24507af18d64d9382383ccdcef4fca06abccbbbced7f81308b0a28e1386406eb4deb65b11ab81999971039943b0e4c2258cb3b86e0f732600953ab8fd3f1b3d653f38dd74551084d92622eb75ba6026fcb73e34a8e261f0636d26ea74373366b6b48812a4274612b2692dc50656d200d7f093baaca8e432d07ac27ecf2b9a8fcd101851f22a721ec456caf80de6b951a3a256cd10b96eb6fd124f05b5d570353207b2420815245711a3cc7da14903fe27602d64e9f6d363b942509991e1909078eb92d35da5451fc459e0a4a1527224b1f91f4c39a70d571046c806d7dc212848777d47e92afa03a2df8bc7b6c71795ccb0603d0e5d8b3f7adb1568ba93560e0150b197ccfb5752d57ed298b07f2aa7a74d52775d837290aa2a83f0f1b2dfee0567dc037bd1725cb8e8d581038f4c21882b5fb1fba5b78e3cce8f36c5add21faff1803b65765e4ac4bbe5d7873c4f0e2f173bdbc1e8dc2df345b791bb93e4a647da01b02718362036faba84d61f6545e5d201da5859d410f396387ddabba350164ab1c9c4b1920ce4f7cfca9f13ba5c868b7fddcac9e6508f46585ffdcd63235a4bd2c775f23c2f4e0b8be5fa894da7d7d1b1c39cf26bf15f758aefddb7bd9538178ababc76b83e6c6afa5e9f679f8ef07faaea6874ccd568f1fcbe8a499192655bffb48df929a52d739c14b0d1314a060dbd78474d77241432a98823d0d7dfaabe5469156630f5f15554b73f660a182585eead3263de4de118c9f4f7995e3e8504cd1bb164c6c96c426865115181c2c10c93007369ce276f6c6b05d77aa0e42126641afd4d25949af75b379852abfb813f687b0607669eb5172fde025d6e041585c6df75dfc200f50a89b672e5853ed7030d6cad64ee9a43895eeca94c5072bb6cb927f96495206356574383e53ecd170c53b314681e755f1998e9389abd29dade56fde2ccfca86f4b41e5aecad88d2fc4fe4ad8cb6520ba06ace58296e85b0daab6b27a1cf38b3c85b4800e0d04ffb3c5d6e317f6b59c39ab39d624e0db7b970b63ab9f7d7ab68743b0af3de60c5f3c3251ddfcf185fa11c13b7d5af627d59f55a269d1e1834e43350b8a2ecf3f3ae5353c31cb0e4b2c57883e2fbea1ad5833061fa97f03caeef1c38844580c5d5e5143f5fbb34f65f2482916ccb477f99ac0f2ba7e934ab43392a3b905c387ae71a49f9ac3690f176a660358182dbfbeec354a061e57c3c02666c49022df863e729cef9111d926081cc6262164f0e63389b922539c1dff1af736a1e7697bf39747f7fd229d2c1d9f87446071295755f35dff6b21b20f0673732256ab0774f5abb6ee727f618e3aa'/>



*** User 2024-04-15 16:45:56.419 ***🔗
alicE_too_big_opening_tag_is_rejected_8@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02b8ae762677f4fa' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2024-04-15 16:45:56.439 ***🔗
alicE_too_big_opening_tag_is_rejected_8@domain.example.com in
</stream:stream>
*** CT 2024-04-15 16:45:56.445 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_26.html



=== Ended at 2024-04-15 16:45:56
=== successfully completed test case
=== === Returned value: true