=== 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"},
           ip_address => "0",shaper => c2s_shaper,proto => tcp,
           ip_tuple => {0,0,0,0},
           ip_version => 4,connection_type => undefined,
           proxy_protocol => false,max_connections => infinity,
           max_stanza_size => 65536,c2s_state_timeout => 5000,
           backwards_compatible_session => true,reuse_port => 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,"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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-01-14_19.39.57/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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-01-14_19.39.57/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_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,
              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@d081adacb998.2024-01-14_19.39.56"

=== Started at 2024-01-14 19:39:57


*** CT 2024-01-14 19:39:57.571 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_19.html

*** User 2024-01-14 19:39:57.678 ***🔗
alicE_too_big_opening_tag_is_rejected_9@domain.example.com out
<stream:stream bigattr='0934e81c49023508e4a3c035cdb5f5601609d8d0b5dd14a7f21bc469732faf60c62d34ddb0b3416c00641534ef4db911536b73bbdc3a1edc28bcbde48e246ca3ee1005b5765fe33514816ba42a8100b7eaf8c7b445f1fe57a9775e93573f4ca3f4bbfd64a3efa5fd2ebe3fa99f65603c544a49b2df631c96399801fd8bfcd6deae1923bc1eb567bc9bb257c67df3a41ae6c68ce106c9c136d0513d1984f43a5130fa3665ba482d9aeaed35a3235302917f9ab3f88013bdab8ee8f5aeff761619166583bb12216388cf042bd08b84c9d612311f3302e3ae499410533a01ee7ef656a20aeb39d84033ce2a4f6f37c9fe7dd75bdebc7fa825030ea85627cd676b14214ab806995dc175744265fd98c49442c7b8c2af3b31440ed06d600741f237ca8d70f9e27abd046dd122459f7bd49324ac06024130d55f03ecddcd294a3817a8a8e66138318501d3a0cc202cb67193eb638aa812ebc47fffa7930476b60dd0e892ef0ef2ad5a23e899b42ac65c4e7e2aa781a70e325f7d89d89b8a5f483b8cb31183e13b9cc0bf7f12ef33c0197b257e2a3727347108ae2f3543b82f5b647a3ee46b71820a3be4a66fae544427f68acd284adbd0b3711778c3096760f0ff54f179f6d3260fcc28d9e46c6f2c512ec7680dbaa181292ed09e52af76d8fe57efaaa6c6dcafc6a66100f8b15c6e7d15b031dba8d5c86b4024467bb4b11aac5c61883288924e083d7dfb0c72321acee66c47b8116afaa3bb065b45c7f87957c660865b07310f0c56041d7de4591e3906748972544877ffd5952c0ddb90be44e174f888199e8ccc01ea139d9b30b886f9a04777b44fb2a48c25241f048d39f4aac9bc5060fceba1d9a0741a3a78ace7f91f94af0343280a302c176f10dbf762d6c34fa0cb4ca62b05c78c254cc774afa76a5f5ff97bdb3273cfc5d875e475c3526febe5080bb751c86159033cffd63e6ddd34af697566ca36a9398a72fac3d1929656c7cc7f42dd46d2938961953667ba1be4db5c1052254a3da84124f8aab31de86efcef4e2e2633b6e58e9df2e4f26e8854e24da7151559b0951567c73593e2d27d51b72820373030791f0558722c9a227ab02883ba2a71f28e6d3402b764a5f00d25eaa08af4b446b6398fea1e0f5a35ba3e4c651e03e6ae0e41e366a51330ad55d739c6e071e7b1d01b6d9272c05494508aaf6aba18dfebd5c4fc597f67f3bf0f89875f638aaaee9cd52bf69f61c726d931f0fb41b97d8d4f583f0f151496bf0ed51c8c02afd48d942bbd2a6818e141816bdbb189a650e3086e8b448cac12380f359679cfbdbc894dbe01110883fe6d016856e6c7e77fd63bf76972fc0ad29fbb51d47b3d77f69154e382073aaaeffea3cec2e786c5d9867d60fee8874e1a28bbb9250ed781124c639259c2c1f1306c9c540452ab3311b028cf43111ad22b7793'/>



*** User 2024-01-14 19:39:57.678 ***🔗
alicE_too_big_opening_tag_is_rejected_9@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a85c9968a68e055' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:39:57.691 ***🔗
alicE_too_big_opening_tag_is_rejected_9@domain.example.com in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-01-14 19:39:57.691 ***🔗
alicE_too_big_opening_tag_is_rejected_9@domain.example.com in
</stream:stream>
*** CT 2024-01-14 19:39:57.698 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_25.html



=== Ended at 2024-01-14 19:39:57
=== successfully completed test case
=== === Returned value: true