=== 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,
           ip_tuple => {0,0,0,0},
           ip_version => 4,proto => tcp,max_stanza_size => 65536,
           c2s_state_timeout => 5000,backwards_compatible_session => true,
           max_connections => infinity,reuse_port => false,
           proxy_protocol => false}},
     {watchdog,<0.1502.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@31d0bc574ce3.2024-04-23_06.27.08/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-23_06.27.10/mim_c2s_suite.too_big_opening_tag_is_rejected.4.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@31d0bc574ce3.2024-04-23_06.27.08/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-23_06.27.10/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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,backend => mnesia,buffer_max => 100,
              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,<<"localhost">>},
               {password,<<"matygrysa">>},
               {connection_steps,
                   [start_stream,stream_features,maybe_use_ssl,authenticate,
                    bind]}]},
          {alice_bis,
              [{username,<<"alicE">>},
               {server,<<"localhost.bis">>},
               {host,<<"localhost">>},
               {password,<<"matygrysa">>}]},
          {bob,
              [{username,<<"bOb">>},
               {server,<<"localhost">>},
               {password,<<"makrolika">>},
               {connection_steps,
                   [start_stream,stream_features,maybe_use_ssl,authenticate,
                    bind]}]},
          {carol,
              [{username,<<"carol">>},
               {server,<<"localhost">>},
               {password,<<"jinglebells">>},
               {transport,escalus_bosh},
               {path,<<"/http-bind">>},
               {port,5280}]},
          {carol_s,
              [{username,<<"carol_s">>},
               {server,<<"localhost">>},
               {password,<<"jinglebells_s">>},
               {transport,escalus_bosh},
               {ssl,true},
               {path,<<"/http-bind">>},
               {port,5285},
               {ssl_opts,[{verify,verify_none}]}]},
          {kate,
              [{username,<<"kate">>},
               {server,<<"localhost">>},
               {password,<<"makrowe;p">>}]},
          {mike,
              [{username,<<"mike">>},
               {server,<<"localhost">>},
               {password,<<"nicniema">>}]},
          {john,
              [{username,<<"john">>},
               {server,<<"localhost">>},
               {password,<<"cosontuma">>}]},
          {geralt,
              [{username,<<"geralt">>},
               {server,<<"localhost">>},
               {password,<<"witcher">>},
               {transport,escalus_ws},
               {port,5280},
               {wspath,<<"/ws-xmpp">>}]},
          {geralt_s,
              [{username,<<"geralt_s">>},
               {server,<<"localhost">>},
               {password,<<"witcher_s">>},
               {transport,escalus_ws},
               {ssl,true},
               {port,5285},
               {wspath,<<"/ws-xmpp">>},
               {ssl_opts,[{verify,verify_none}]}]},
          {hacker,
              [{username,<<"hacker">>},
               {server,<<"localhost">>},
               {password,<<"bringdowntheserver">>},
               {port,5223}]},
          {admin,
              [{username,<<"admin">>},
               {server,<<"localhost">>},
               {password,<<"bruce_almighty">>}]},
          {secure_joe,
              [{username,<<"secure_joe">>},
               {server,<<"localhost">>},
               {password,<<"break_me">>},
               {starttls,required}]},
          {astrid,
              [{username,<<"astrid">>},
               {server,<<"sogndal">>},
               {host,<<"localhost">>},
               {password,<<"doctor">>}]},
          {alice2,
              [{username,<<"alice">>},
               {server,<<"fed1">>},
               {host,<<"localhost">>},
               {port,5242},
               {password,<<"makota2">>}]},
          {bob2,
              [{username,<<"bob">>},
               {server,<<109,105,99,104,97,197,130>>},
               {host,<<"localhost">>},
               {port,5242},
               {password,<<"makota3">>}]},
          {clusterguy,
              [{username,<<"clusterguy">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"distributionftw">>},
               {port,5232}]},
          {clusterbuddy,
              [{username,<<"clusterbuddy">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"wasssssssup">>},
               {port,5232}]},
          {eve,
              [{username,<<"eve">>},
               {server,<<"localhost">>},
               {password,<<"password">>},
               {port,5252}]},
          {neustradamus,
              [{username,<<"neustradamus">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"scramshaplus">>},
               {starttls,required},
               {tls_module,fast_tls}]},
          {alice3,
              [{username,<<"alice">>},
               {server,<<"example.com">>},
               {host,<<"localhost">>},
               {password,<<"makota2">>}]},
          {bob3,
              [{username,<<"bob">>},
               {server,<<"example.org">>},
               {host,<<"localhost">>},
               {password,<<"makota3">>},
               {port,5232}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@31d0bc574ce3.2024-04-23_06.27.08"

=== Started at 2024-04-23 06:27:10


*** CT 2024-04-23 06:27:10.853 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_33.html

*** User 2024-04-23 06:27:10.958 ***🔗
alicE_too_big_opening_tag_is_rejected_11@localhost out
<stream:stream bigattr='d0e9f3a19e83cf45d4edf15c64a2dd56c0cd9eeec5787b73ab9d71f0127a80e84f96defcf29aab86fa6b73729b7e7b335d7d1a5a42d8233e3094f91bdf7796d7a95a8f94c2c5e62d06afcb0ea68e1cee7702e85b695e6bdfe1c1e452a19406553a4ee73ab735246f573da0ebc152d8dbe04e17a91c6823ee72fe1af4710c57244f7355113da90c715205375925dcffc1771458f37d59a06b1a57171d5c074b94e458154d1c03dca487caf0fe0bb54f71331930f8c68280e7b8be4ef864b4c249dbf49f6ac18f552ad0bbc7a2ea250ca625b77061eb4687eb213e979a1778d20d8b4579d288db590991c42dbb87896e600a272985cb5a8b0167477bed1050f2d93578eb8e51814eda4b12be6a2551e16f59e9db433d1d05fadc1a0cf16c580a4ee0a8124ad1f7a177a15a10f5ee16f62161517baeb62b2afcd3df18265c0c90522e6bb031f21e19821b159fc35b609ff76385ea1786a4e88f4d25e30c9aa9e456bf11fe15b32404f8c04fd5c8db41af86ea8097b4b61f96297cfa5b551a7edb4f34c76e63672d11526585d4b6170c8f0e76d2f69cbe21f40d3c4433e8f36c5eb30f553185eb7a04d2286aeee0aefa769133287b715e512b0bc2b22983a338a1156eab0d28778ab9f2065736b288977d021da300b125f394cc4cd4a880a8fcfa853f032dd4e6f4ae2970614ac8934224fa74f6873b649ba99d8f325ff160cb448d15f027070ab6a33c1c9aeef2bd35fb4d66d17681a6656832cb519adfddca56286f9267a2ce185cd4e8944178c9b3cde604ced13b0bc4fbfc155b08c89973a3ab0f42547442526243464756f1a571d2bd6a3b4b236ee290a996c776bc7d978bcccd08d4b59a8f054d57f6946a125cc7bd9f1d6fa41ed9dfc18e76f0b63ca04a4ae947dd68524fc67d8bb32bb4642d4d074d4e50379e5a5cae6223bbffa1461a6c6f39fff6ab105a9fc6442001de1dd495c43e85ff4c04c9dee2daf1494fd196243baff424cb1f83facc624d97c5ada5c01f097d0d4987ae04bde8fabfe2b35d1120070466a245dd24981ba8169517d5244fe30c450013447ebd39db2290e8edc23fb65a13185e6324dd69114726b9063da70d9f7bce5cc18ec3c47698344840815033c066f43f47666f53cd6e3bb2153be9dfd004622e5840f7b2358ef481b88fc011c93624b41d4d286bc06285244f6c28d56765476e03e088a2f9e69a126dd26f91763f62135580c6af90c729f18df07089f18340524a55f4b87e18c38b92521941224c8a30219eccc442df91d62958a9c01c4ac3939e019f9dccb4a0f07c37a292e0e7cbdf178a34533bd5d8f3204bd086d7fb680e9f1057afe80e1318fb02c4ffa6749a7711ef6236389fc4c8ea86e03bc6b3b111fa1c8afc175335d5d5ab3a2391e7e9a9a51ebb7e5bca13a89b6d419ceee072d895bee40663ad1df067a7'/>



*** User 2024-04-23 06:27:10.961 ***🔗
alicE_too_big_opening_tag_is_rejected_11@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75c09eaa5d3aa7df' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:27:10.977 ***🔗
alicE_too_big_opening_tag_is_rejected_11@localhost in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-04-23 06:27:10.977 ***🔗
alicE_too_big_opening_tag_is_rejected_11@localhost in
</stream:stream>
*** CT 2024-04-23 06:27:10.979 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_33.html



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