=== 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,
                 certfile => "priv/ssl/fake_server.pem",
                 ciphers => "TLSv1.2:TLSv1.3",
                 dhfile => "priv/ssl/fake_dh_server.pem",
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
           ip_address => "0",proxy_protocol => false,shaper => c2s_shaper,
           ip_tuple => {0,0,0,0},
           ip_version => 4,proto => tcp,max_stanza_size => 65536,
           backwards_compatible_session => true,c2s_state_timeout => 5000,
           max_connections => infinity,reuse_port => false,
           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,"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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-09_11.36.10/mim_c2s_suite.too_big_opening_tag_is_rejected.387.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-09_11.36.10/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,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 =>
            #{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@528a5a4ce401.2024-04-09_11.36.09"

=== Started at 2024-04-09 11:36:10


*** CT 2024-04-09 11:36:10.380 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_20.html

*** User 2024-04-09 11:36:10.531 ***🔗
alicE_too_big_opening_tag_is_rejected_6@domain.example.com out
<stream:stream bigattr='85daf209c53ca87066b1d95acae4509d07646d3b5d9f6355be5898ea9f71d0a3eef49a7956de2ce9a9ee93670f195a44e914194032146f1f3bde0c260511f3b1b2834a90dedfbf076f39250694c2630242c8d4b593eed1d65bd371c0358ecd8d24e5394ebd0401966fb4af1f50e2c0159faf132806810fd17154f9e35e5af5cb7fdb4c4fc0007f0fd4d52361fd9d268663009074c15407dbd0650d31535ff84d2a29d0af781eb03d7cc952ef08c97e1756d73254c96a08b6ebb105ae27b9d6076cdd7f1abf461d647919ae03d41cdcd25ba4c262d49416c0b78d938b175ecd338fbd99d54cb31296abfded5b10ddc5de05a6da78dbb6dde46054485447223c6c46d2ed014ae7e46e4b0a67443b4bbfdbea80325f56d38c164736d51c2b85e729ceef6bfd514e0050d2de458c7313599668c62afae8d7d453738bab642c41e010d99c150e153cabcf89b09e0d960d45b462cd828b5a7646622bbc9ea133c4285141af4c58adaced82813abf09b43e85bd2ea49e8262aa12bcc2fe6c4bf8078b08da18241ce6851035ead2c0f4fc2f5a8e5d5a288d3a4545b48fa02b384e3b31cfec842f8dfd83363dbda7bbeef367684da9488f2f96be95a78f66607ca56cf713107f67448fee22d0803af5e6cb5baacab2db90c8274c33c407f5b75c9466f43af118ad8947a54ffa14984fd3cd814b01b6477356f2ef22cc68735b4044e92f1c6f2f1b6482fcf5a7a11f042cefa8ea593b40fc31ed300846663166ce1bfcfab086d977e7c82c4c028999b3ca07ebbcf5357f8f9a8d55f03dec8a369a3e883a1a86d268016d9b8fcfbe451c4cc8d29606d8fef6561c0a0070db2785a1e6e3a9d778ec6c8f10d9e60c8ab558107f812cbccda2d45f0a858e7786ac1c5949d2b46d98158f23e700f19d03e13f47e50069cb44b01f17e6ce91d06fc9deb7e3113a6619b9a40585c27d846665866ed8362717b2e44ec1f2b3f72651cfb93d2737d986fbf03052cb0d999654b34f57d0790e10de0aa5d23e0ece39cbe3196abf7518844d0c20d9ba4cc58e4a1fd2ebc9b82b8a2f76f4ba0d269405483b8a6f82345cc1892f00089ccd348445251c7ed5a11096db5125d959aa4f39485c2c0c3ad9784ad42261b0f3a7a9805afcbf017d20c8b1697f5606f204268af0267bc7668237db0aed0ddd37784a0d374886983271f68cbdd9a239b6eb9cb94c99610d1b2adb500385981a313717a9e03c63c2396e5ee38f676238dd4325395fdaf0e54c4e6fa47215cc08d717ac5473d80a4aa890ac718db636ae4ca4408e2ff3b8e0aee35fb83f67385934dc57f4649ac05258a9ae7e8a53bcbd608a2948a989cab5b571274317449ebc88631bf0bc3ad89b2ae7c96533ae95359da0f555ab44458860db7ec16d63798799126d7494476794a32eff43964f0e93460a4a3d88046d03ead7a45b'/>



*** User 2024-04-09 11:36:10.531 ***🔗
alicE_too_big_opening_tag_is_rejected_6@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b09fd020f51145b2' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2024-04-09 11:36:10.567 ***🔗
alicE_too_big_opening_tag_is_rejected_6@domain.example.com in
</stream:stream>
*** CT 2024-04-09 11:36:10.569 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_26.html



=== Ended at 2024-04-09 11:36:10
=== successfully completed test case
=== === Returned value: true