=== 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,verify_mode => none,
                 ciphers => "TLSv1.2:TLSv1.3",
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
                 certfile => "priv/ssl/fake_server.pem",
                 dhfile => "priv/ssl/fake_dh_server.pem"},
           shaper => c2s_shaper,ip_address => "0",
           connection_type => undefined,max_stanza_size => 65536,
           ip_tuple => {0,0,0,0},
           c2s_state_timeout => 5000,backwards_compatible_session => true,
           proto => tcp,ip_version => 4,max_connections => infinity,
           reuse_port => false,proxy_protocol => false}},
     {watchdog,<0.1436.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@3a13e6c63e00.2024-04-23_06.26.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-23_06.26.56/mim_c2s_suite.too_big_opening_tag_is_rejected.258.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@3a13e6c63e00.2024-04-23_06.26.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-23_06.26.56/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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,buffer_max => 100,backend => mnesia,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        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@3a13e6c63e00.2024-04-23_06.26.56"

=== Started at 2024-04-23 06:26:57


*** CT 2024-04-23 06:26:57.092 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_25.html

*** User 2024-04-23 06:26:57.225 ***🔗
alicE_too_big_opening_tag_is_rejected_9@domain.example.com out
<stream:stream bigattr='ae2b1f3f5e32a42c91665953cfe47ac465a3f434cff0873c5e6b2d69e0fecdf8f0f067a5511df23dff5a114bfb6f5eaade428f9c1a9c26071a007ceddd82a3e6c0b17fd2e62562e4c322daa9bbef5fa2de5b5b78104c0ff48ecb59373ced6430e2988fa3e756696425c95498a19fa5bbc04cfc4a4ec1fef85d56e5ba89df5d3af28e7dccbfe969916538bdf54a3aeec621b948e56c95cb893c146c3dbf665d0be7d438f9f3b7821117fb8cefb2897fc83d2838a04e74392b56cb27cc803e99903f5d6541cf3965ffe7e4b2a55031e6c45cd1074cd55f4a0c70a0782585829353f3b502376fdb015dac4c18772395f22a95564f15d8f409ba5fad3ad62c7e9fa8e41cd8c22f78fdde194204ca7ced9038677db37bc006fb51e4a832e362d10ef534d1526ed492580079dd3b8ab09f80411075a1784b03f3d31945615ab8c007f56dbfa76e3f5a065ef8478b3659c94020472705590e6181aef7d6e6c121cd3d8aaa08c1b2301394781fec97d759bc26174ced4fd1c0c811146ba50d8dee14b8de9d3828b8f23e9d66a0fb0fe61e2954771c7145d972093c270dfa56158b90da9a8238e8594b0e9bc394473e2f0fbd39ec807b218a56b4298c60868278db5001dddba647348b529771cf9928532e48078b07f11bd18abfd8eb0c736655e083f3d077a48fc4af4cca3b0801109a9f3819fb4b2ed2146937cc79c99b0fd841195d7def9d6f493b24208041df7664f8e838d9cc78622fde1eee3f78d0d22df3780f6c9fe1f3373d60b4b378cb9412b4656c0d28798c0f437e1d02092b4278e5481fe2fc941be7898927ff4ae3e761c5c9823a3197a3c8d0d0688ae2a89affabdb01f3307e1489a22cdf6047d6962b4d1ef371c5570af3b8c587194dbe7ca0f0d9d14f27e617f03d41367d576c5d5cf38f2fe53d3ccf24be6a4c285de2a01ad44ae28265b83e58df5e124b13d8bd4932b1feecd102a6c2318be6ae28ed506457a833abb86801695c46b65b3f20a9338654028f03885979db986cc6ff434130669e3c422af2f0925c95b4e0dc506284a4acb11e4f7401b499b272af66d8f815e8ba1fa8be29ede39fd22bbe881aa39d0cbc68757996afcd37cff9561f392d2770dab726518bd410ce584ac715c01c3c18dd6d1d4720211fc6d4e2af05895eca5f6f0e2f6cee6f2300e0dbf45588049623261e55bf0438b3c86a77f10f23ed40e2edf7dba735d4e728556a62f796170d2ff5a4e7922264ed312a04aefdb5e4a2f7c9b1fea07c8056117cf5f4c6d69e2584a78683de7bfa763c92e8593e21cffa24419791ca0fb31cd85a3007304cd04f96e38a9743cd03018208d9ad54c44ac53ea27f99d7ef44c7834c7d41610a049ca11f6b011afa395f67305801479d930b12daa5a77be5c0317e3980842c24d1d7a71d35c74e17cd0f157ef6b748cf7b3ef16cff9b'/>



*** User 2024-04-23 06:26:57.226 ***🔗
alicE_too_big_opening_tag_is_rejected_9@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e43f7543551c72dd' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:26:57.244 ***🔗
alicE_too_big_opening_tag_is_rejected_9@domain.example.com in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-04-23 06:26:57.244 ***🔗
alicE_too_big_opening_tag_is_rejected_9@domain.example.com in
</stream:stream>
*** CT 2024-04-23 06:26:57.246 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_31.html



=== Ended at 2024-04-23 06:26:57
=== successfully completed test case
=== === Returned value: true