=== 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,
           shaper => c2s_shaper,proto => tcp,ip_version => 4,
           ip_tuple => {0,0,0,0},
           max_connections => infinity,reuse_port => false,ip_address => "0",
           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"]},
           proxy_protocol => false,max_stanza_size => 65536,
           c2s_state_timeout => 5000,backwards_compatible_session => true,
           connection_type => undefined}},
     {watchdog,<0.1434.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.mim_c2s_SUITE.logs/run.2024-02-23_17.31.31/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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.mim_c2s_SUITE.logs/run.2024-02-23_17.31.31/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        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_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        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@5f60ef475eab.2024-02-23_17.31.31"

=== Started at 2024-02-23 17:31:32


*** CT 2024-02-23 17:31:32.324 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_23.html

*** User 2024-02-23 17:31:32.438 ***🔗
alicE_too_big_opening_tag_is_rejected_10@domain.example.com out
<stream:stream bigattr='47459b471a28e27fc9b7770151493793f3a4fd728ac131725c2138141570b47f7e08aaf18aabae2400f126ff34eb6806d9eb12e5db77e157e185bacde4171288e6996c809f3ab13dc3a54120f662114115e2dd0101190247ab372aa38857ca61395f6e3f1bfb7e64bfb89723afa4beed99116ed7d305c9e4f31e6c686b11b27181a5f69145c718d3ea8885e4e87f9d589a825d3298d8e739b82b02de27e5b0e60cebbce5efa6d2581dbf7d48b08b55fb6ad6d9fde939f6182546d76ad05856d1f3a0ac5293195c7250b01005e8c7c8cb1e080834b08d77201eacfe099ad19061ffd77dad3637da454485ff8247644f6474ef5de226e3b1cfe1a304ff9378340114842980cc632f1885db3fc884972b9cd64e7a6d8255d6796664b238c690865c00a8a8f893adfe6e8bd5e3ef57527f79719d1981dbed74e876ed5a2aebfa774b7b2fd1929a767b1e87574e47bfa3b24d7412fd2cea5693d67db9043e3f2412382dadcb03c1a9dc8af989892df7122ee097bd9ef3545e5f7ac2ba5dc3a2029b3d93701cff9c20ec645c5951832b80addc86e33622ec6a8a1760a8215e220d0fafcbb9c088f467693eb8a6559edb946becb9321553529c4022ed45dcbb2942732c062b3fb7a6e22c6c540ad9bc0aed103b748fab48a2c662d9973a75514bdb5a7281d3d752a7309a37e4afb5a0126c9d66283414c0d3a900d78f99dc4a05b2f5a10be8510ac230079b57dbee03482a1859a57190e18e69090032b8e7ecce0c934e920b0444f9419f1d2f5f3282ae4c0363acfd62745bfa0c9845fce8a6d4bc3f346c6589e6fe7eb76c1b144a1d34bf30f975cf9063d10d59cbfca302e86a6fb4692fba7008eb9f3349db676b4410f195b375c97484123b3c53cb08134f3080d487999705576c0904d9fd1f5fe9e60de42eb7851a5d750239f2476e1cbdd264b2e64e46482bcfe4bcfde3d83495e7f26c2869b5d4ccf8f330ee393eb64a4e8c0f4e922a6855e96a7e4d874652a7159a25c66387a11deac34ba64b2cdd7ae5c4b4f4f40637efc845688da4c4934a621a125ad109da29708ecf62279260f18694a4d31c04d5b061c98a6cd2c68df30a55c8a4f8be91787c43841518b089d2dd260798caee61a92a593a255ab178118a0573671478eb7ac4b5cbff1c6b304153a2ccd0f74a81f741a282a335d2c8935687674a34f782c9250cb5816cc4b1e4bca6e8472421635403acbcb4ce6b800565101030c17c5633622cd49f22da77e694de7b2c80fc476931cf1ab6a6a69fd6a024a69e0daf3b099dd62d14def4f1c6c139761d8ba157e570e5e6f02fb243ba181accc9b650f156c85da7c99967e0507eb4dd151f6100a45397c9de0585f17819a4a0be141e2593c8fad4bbb05fb755bc8d96f5c16f110b8ac8dec8c8f08bbbbaef02ded3d5664c2d727c1fcee8a49f58209af0'/>



*** User 2024-02-23 17:31:32.439 ***🔗
alicE_too_big_opening_tag_is_rejected_10@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd003c4c4d79da13' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:31:32.454 ***🔗
alicE_too_big_opening_tag_is_rejected_10@domain.example.com in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-02-23 17:31:32.454 ***🔗
alicE_too_big_opening_tag_is_rejected_10@domain.example.com in
</stream:stream>
*** CT 2024-02-23 17:31:32.455 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_29.html



=== Ended at 2024-02-23 17:31:32
=== successfully completed test case
=== === Returned value: true