=== 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,
           proto => tcp,ip_address => "0",
           tls =>
               #{module => fast_tls,mode => starttls,
                 ciphers => "TLSv1.2:TLSv1.3",verify_mode => none,
                 certfile => "priv/ssl/fake_server.pem",
                 dhfile => "priv/ssl/fake_dh_server.pem",
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
           backwards_compatible_session => true,shaper => c2s_shaper,
           max_stanza_size => 65536,c2s_state_timeout => 5000,ip_version => 4,
           ip_tuple => {0,0,0,0},
           max_connections => infinity,reuse_port => false,
           connection_type => undefined,proxy_protocol => false}},
     {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@f463e50874ff.2024-04-16_11.59.24/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-16_11.59.24/mim_c2s_suite.too_big_opening_tag_is_rejected.898.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@f463e50874ff.2024-04-16_11.59.24/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-16_11.59.24/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_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_sic => #{iqdisc => one_queue},
        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_bosh =>
            #{inactivity => 30,max_pause => 120,max_wait => infinity,
              server_acks => false,backend => mnesia},
        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@f463e50874ff.2024-04-16_11.59.24"

=== Started at 2024-04-16 11:59:25


*** CT 2024-04-16 11:59:25.124 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_19.html

*** User 2024-04-16 11:59:25.244 ***🔗
alicE_too_big_opening_tag_is_rejected_7@domain.example.com out
<stream:stream bigattr='4582a786d2af9ad40052cf9936e63c33f27ffd4750be7c3880a0bddacfc43e91046c438a137da304b36b3699cd9e9fa88cedfb86c22e3d830c63af7b5246cc623004b3b45aef388025ae04b3f835e0486aec8125256868c0c70da492070a86c7e55054b0dea94e213ec1e2081b3213967eee34412f557f65e1edaeeabcd8fd6945ba0032bd4d4f602f3b5569c7bd573d4c1b68cd110c3e539834490082a656254e178870f7418e10e2bb6cffa775770c5709e4e0d1f6817f78bc0dad5fa1487f249cf0316fe77543c062ade411d2517293eb071383d5a49fec0922c92d81143f87a2880277ae09f3fcf6935e0440c4261d32932fa4a7447eefd2d870547a78cbca7e59b2730db384808cf8128f6d8f733c5593a85fef4b577eb3c3c49ab1f4197f27c8b1c91ea5de1d8f32de507a66e8cc09bf7009efa2946677efaa53cafb0a31b2a1180858c2b10df5df37d4ab01527a33aa34fa3bc759cad2bb51a0601fc91c0b76db462336d713f9f5dd4e271e5a72c01f06f4754b5011eb2fcea471ea9c82e37f2acc4b576abacd5be5dd705ccf757eb88342fe35ca832cb9022ff11c2e0f75aee6d2de90bd2ce90a13a3b8d478b9d13dfa1902c811919d90477c6e102c348b4a77530d18bd7d51b3f8403b6dde87a851f6b9323387bbc7ec51a3f797535e4177039a864be49121e5109e94779b180aa7699243d6ce1dee19154cc46b2f485437f5cd07c69fe8aca7537dd07e8ad0a3c5a73893cd7764fd3379b14a0bc2c55109ae70ec2ad4543bd48c90b559fe852c7e8cf3542fb6fcc2289dceff473048f46bd6e1db25cc42c0be405f8e9213a029e166892a541166875281256b6c29e12a1f4a903d55684d9f4e220719fc9ef8b46fbd5414282d45d13ef30fcdb4ac928f33021f0c4aedb6684f560e4f6f976b05f50212f44cfbac6a2c43c75ed2c0cb5a679ea7c2282e6b791540b1ee77da4c941ab8ef953d100c65dc6a78e0af4a11ebb475d3f0d62707d7fff9b7389b25516c1f266f2a5044efba5585c5dd49e66e7674c0b0db4038856b8cf0a091d174844156c6111a014eb3fcef9f684d0719e05540ad2b23a6a442a886a412726e43db7792b877d7a36b112a56b6b64b32343880f356b5f6f6aa80e10951466ea49514ff119c9016aad7a237a6226544066269110dd2ea2c2f725aed2ce4628968cdf632ee93b12d619dc1935f0a8fd80c1e390e7ed97bf230f4379f733fd1fa0eb1a768613caeff8d01ca5bd7f317aeb870db3867d6df114149323a0ea913d94d4a9d04b43c97ec3573072ecc5901c141ad6b5eeb2c3b30b350d8a5820f822749d7051fd61ef2a0478d10c752ae0d765305088cb530d348998aac66021d2b0d0f8d95d7f6b1de0623765c730932839b333fd1d05fa1fcbe216734d291b2e56f6937f276e3415b81f114cb803f4c8dcdb6bb'/>



*** User 2024-04-16 11:59:25.251 ***🔗
alicE_too_big_opening_tag_is_rejected_7@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='092c19bec07ac37f' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2024-04-16 11:59:25.266 ***🔗
alicE_too_big_opening_tag_is_rejected_7@domain.example.com in
</stream:stream>
*** CT 2024-04-16 11:59:25.274 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_25.html



=== Ended at 2024-04-16 11:59:25
=== successfully completed test case
=== === Returned value: true