=== 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",proxy_protocol => false,
           connection_type => undefined,proto => tcp,
           ip_tuple => {0,0,0,0},
           ip_version => 4,max_stanza_size => 65536,c2s_state_timeout => 5000,
           backwards_compatible_session => true,max_connections => infinity,
           reuse_port => false}},
     {watchdog,<0.1427.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@9653e50c5872.2024-04-25_14.32.38/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-25_14.32.39/mim_c2s_suite.too_big_opening_tag_is_rejected.2.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@9653e50c5872.2024-04-25_14.32.38/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-25_14.32.39/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_sic => #{iqdisc => one_queue},
        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_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,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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 =>
            #{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@9653e50c5872.2024-04-25_14.32.38"

=== Started at 2024-04-25 14:32:39


*** CT 2024-04-25 14:32:39.269 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_19.html

*** User 2024-04-25 14:32:39.397 ***🔗
alicE_too_big_opening_tag_is_rejected_7@domain.example.com out
<stream:stream bigattr='90c064a21d63cb609682787f8a64c57f2c6b9230706fc3776a8b468562f76d2346dd9be797aa0826b3082bbd00a6bb61687f75824f67e09237795276446699569695ca0a5530041a3af28414fc496f26e572ac53433b71b500a7aa4ea3de48dce8dbb6e325d7e44e2317cab54ec08eeeadca5c01966224d8540bd7560c4880af91f5f081c28da53a972c094078d09f20eb1afa90d0154dc9290b77b484287f184bedf479aaa3825bde91c4458fb0f49416002e6367d904290964937376695e5bced72c802de394bfc3d49f379ae884b9319e5c7dac39dae8a02e452a478a3d2910afdcfda1c4f6564889190f704855057056022b41c9d92c0cb7a80faf58461c6f0029e6f60ca4d6665e4578bda8f887327261568d2422d3d6119d6a7cb54ed59a53dd78bedecf77b582175a48cb37256ffbb160df8f015c89591bd0ce42770b2a714a596b2ec5263094c47a969f3e5fb528043fbfcb688f9d1759bb87c84ca5811ca6819aa70c3b7ce99f2782bee77b4c5312f55041821c3e29dd672638e491f835b7df46612dee6fadbac0b4dfcc770718afeb0390ad2b037db7da2c3d35ece1a185bc68803071eac764601c31885e93738e40049a74ae52e293ee2953e435706de203a45ba4518d8f6cf59a413472ed815d3eb3e4b26463cb400f66b9b61e5bd3b373609a2ba561e710a6703323eb4fd3f1a7e31f399afa7685036cc4fe0ae914eee76dd404aaba0893270a4a1cc5a8bf6ad803a3690615968b8f0c8df29a8d2419650bdaba2946f8b6f84d3a98b52a29a54ff868c6317215769351d199d231f4bcb8eca0877e2ac490d5d2c023e7cca5d8635d1e8f07fb6fc415f3e96c3d5a39445d847012a954f1bbdd0af5fee7f1f9ccc4f4cfde3d83af7b72fef14d47366c11df0750e53f0a16c97c0b992a2b46b9d245867188d91eee6246ef22eb5d6cfd6b6161626770773f9e60736c20fc7ec26cbdd9c657710108245da94536899f050b1cbbd2399efcc6c2e4b58127e2105b2a15359360803ce6210337b1f566e09af47b964e896844730b410943d52c69a95724f68daa4e06daa38673747df5287611b9030daab6cfdc7f02834f897b2b717a2555906d4f184dacab4ce638e061181b37cda13df229b035303dd935e2b0ee52b21de960ab586f74727a13e0009657cdb0d0d34755659b4297a94a42263b2d3b45297b7c0f416b16278f2cc777b23da0691cb0477b46924c738b7b9c9e3d6b4d3d04200c417f4cbc65db90d419ded069887b6c341a2cdc6b10e23df45cbd312b310ee9d43ad7f42f1aaef2406ea903dbab33160dcf7403bb83f4a628960a52b3b52e74c6d7c798fc4c5f4a898c03eb94d8e42e6a8cc244ce4334b4c235007276581739d06e87864ea7e1fb0b3cdac4dd177f370f83073d0fd201a139295b0c1a70b8311c4845145770e632126e'/>



*** User 2024-04-25 14:32:39.399 ***🔗
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='42471c7ea264808e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:32:39.418 ***🔗
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-25 14:32:39.418 ***🔗
alicE_too_big_opening_tag_is_rejected_7@domain.example.com in
</stream:stream>
*** CT 2024-04-25 14:32:39.429 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_25.html



=== Ended at 2024-04-25 14:32:39
=== successfully completed test case
=== === Returned value: true