=== 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",
           ip_tuple => {0,0,0,0},
           ip_version => 4,proxy_protocol => false,shaper => c2s_shaper,
           tls =>
               #{module => fast_tls,mode => starttls,
                 certfile => "priv/ssl/fake_server.pem",
                 ciphers => "TLSv1.2:TLSv1.3",verify_mode => none,
                 dhfile => "priv/ssl/fake_dh_server.pem",
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
           max_stanza_size => 65536,c2s_state_timeout => 5000,
           backwards_compatible_session => true,max_connections => infinity,
           reuse_port => false,connection_type => undefined}},
     {watchdog,<0.1488.0>},
     {escalus_overrides,
         [{initial_activity,#Fun<mim_c2s_SUITE.0.17191332>},
          {start_ready_clients,fun mim_c2s_SUITE:escalus_start/2}]},
     {preset,"ldap_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@36479f279a1b.2024-04-12_09.30.15/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-12_09.30.16/mim_c2s_suite.too_big_opening_tag_is_rejected.258.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@36479f279a1b.2024-04-12_09.30.15/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-12_09.30.16/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,
              ldap =>
                  #{filter => <<"(objectClass=inetOrgPerson)">>,
                    base => <<"ou=Users,dc=esl,dc=com">>,
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    pool_tag => default,deref => never,
                    uids => [{<<"uid">>,<<"%u">>}],
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    search_operator => 'and',binary_search_fields => []},
              iqdisc => parallel,backend => ldap},
        mod_roster =>
            #{iqdisc => one_queue,backend => mnesia,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_carboncopy => #{iqdisc => no_queue},
        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}}},
     {escalus_users,
         [{alice,
              [{username,<<"alicE">>},
               {server,<<"localhost">>},
               {password,<<"matygrysa">>},
               {connection_steps,
                   [start_stream,stream_features,maybe_use_ssl,authenticate,
                    bind]}]},
          {alice_bis,
              [{username,<<"alicE">>},
               {server,<<"localhost.bis">>},
               {host,<<"localhost">>},
               {password,<<"matygrysa">>}]},
          {bob,
              [{username,<<"bOb">>},
               {server,<<"localhost">>},
               {password,<<"makrolika">>},
               {connection_steps,
                   [start_stream,stream_features,maybe_use_ssl,authenticate,
                    bind]}]},
          {carol,
              [{username,<<"carol">>},
               {server,<<"localhost">>},
               {password,<<"jinglebells">>},
               {transport,escalus_bosh},
               {path,<<"/http-bind">>},
               {port,5280}]},
          {carol_s,
              [{username,<<"carol_s">>},
               {server,<<"localhost">>},
               {password,<<"jinglebells_s">>},
               {transport,escalus_bosh},
               {ssl,true},
               {path,<<"/http-bind">>},
               {port,5285},
               {ssl_opts,[{verify,verify_none}]}]},
          {kate,
              [{username,<<"kate">>},
               {server,<<"localhost">>},
               {password,<<"makrowe;p">>}]},
          {mike,
              [{username,<<"mike">>},
               {server,<<"localhost">>},
               {password,<<"nicniema">>}]},
          {john,
              [{username,<<"john">>},
               {server,<<"localhost">>},
               {password,<<"cosontuma">>}]},
          {geralt,
              [{username,<<"geralt">>},
               {server,<<"localhost">>},
               {password,<<"witcher">>},
               {transport,escalus_ws},
               {port,5280},
               {wspath,<<"/ws-xmpp">>}]},
          {geralt_s,
              [{username,<<"geralt_s">>},
               {server,<<"localhost">>},
               {password,<<"witcher_s">>},
               {transport,escalus_ws},
               {ssl,true},
               {port,5285},
               {wspath,<<"/ws-xmpp">>},
               {ssl_opts,[{verify,verify_none}]}]},
          {hacker,
              [{username,<<"hacker">>},
               {server,<<"localhost">>},
               {password,<<"bringdowntheserver">>},
               {port,5223}]},
          {admin,
              [{username,<<"admin">>},
               {server,<<"localhost">>},
               {password,<<"bruce_almighty">>}]},
          {secure_joe,
              [{username,<<"secure_joe">>},
               {server,<<"localhost">>},
               {password,<<"break_me">>},
               {starttls,required}]},
          {astrid,
              [{username,<<"astrid">>},
               {server,<<"sogndal">>},
               {host,<<"localhost">>},
               {password,<<"doctor">>}]},
          {alice2,
              [{username,<<"alice">>},
               {server,<<"fed1">>},
               {host,<<"localhost">>},
               {port,5242},
               {password,<<"makota2">>}]},
          {bob2,
              [{username,<<"bob">>},
               {server,<<109,105,99,104,97,197,130>>},
               {host,<<"localhost">>},
               {port,5242},
               {password,<<"makota3">>}]},
          {clusterguy,
              [{username,<<"clusterguy">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"distributionftw">>},
               {port,5232}]},
          {clusterbuddy,
              [{username,<<"clusterbuddy">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"wasssssssup">>},
               {port,5232}]},
          {eve,
              [{username,<<"eve">>},
               {server,<<"localhost">>},
               {password,<<"password">>},
               {port,5252}]},
          {neustradamus,
              [{username,<<"neustradamus">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"scramshaplus">>},
               {starttls,required},
               {tls_module,fast_tls}]},
          {alice3,
              [{username,<<"alice">>},
               {server,<<"example.com">>},
               {host,<<"localhost">>},
               {password,<<"makota2">>}]},
          {bob3,
              [{username,<<"bob">>},
               {server,<<"example.org">>},
               {host,<<"localhost">>},
               {password,<<"makota3">>},
               {port,5232}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@36479f279a1b.2024-04-12_09.30.15"

=== Started at 2024-04-12 09:30:16


*** CT 2024-04-12 09:30:16.974 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_24.html

*** User 2024-04-12 09:30:17.058 ***🔗
alicE_too_big_opening_tag_is_rejected_13@localhost out
<stream:stream bigattr='0b48f4cb13d8d977d024e5b6a76b5c7a075b9e7fef84313f5901ce6cce07e6680786167ec44ed28c068f92dc268eb3747ea23c0ad49b7104a426fecaf48a2514bf12b865de701c6f927f00dd43e7166b84a816d2b627b5f9871c371276d8f4671a3987b7c9259b4a059b7a7d074547352a853a2a68146831a68808e2ea15706701ee9e7ed5fde7bbd7e1991ff9e064baba52414773ed7d77c02d8c51bf4056359ed875877ba0a88e026dd768981194ddd9494de8479fe3c9cababeaf264a2ee33f1e023751cb4d65010bc7074a624e886154f40e56ea35592b94f6f284d03bda74344aac80cacd99af0c02720640da99405fbc83ffaf97726ffa7b971a597c01d799b9092ed40678689377fd9811d1e4390eba489799feb49eb0ff4287ff9bbf93ff1b930278a8b7552c0a36e2ffb17f2ef3639aa311061ab755a8ec6273f098c4a2fec471a0af20e3d74895ac10c714298d57a6820a9af948ee1d70f6df85512e09d3edddc4f6f24eeceed2d5c6f01f26b629ce4c12668966a46850d949fd96d8207abff243e084c8e65c6d1eaf497276cf6b4920656a5ca8c4768e0808cd43f1e6a8579404311b6b6ca2e101ce5435c1bc954867e9240a220ec16749880289644c3d8179ed6ae5953116b67d97977dcc8fc2eaeef676325c98efa59327a6c88ed4e93761dac9ad800a432fac12d9e446ea501bdda19c64b72e4ca1acedb73f033fdb9c08763638a9a55692a13ed72893c30b2427f69164da44c5962318774654cfb14193462eada05c11e7aa4ef930608c160a97b757a0a2885a25de81e379ccd2d93c88c9a0f42017ae169947f92a2775d2e42717c72ba22de6a0a815fad9f339090f3e0d272d3c302bbd988be96d64cbc1c9d41abe58beb047d9ba4ff5363617c9651051fffa3f83bff01ea6b904b4262f96597024a386c8179e1a500c2f152b83f718baefbd3b287c30eff25345545bd64d53b7ce812f1a8da855d6aa7d4dc8ac83cfb5aafe80b2845943c94c7d61dc445dbf7f467728e410d0c96e7ea494c712cd214636b0887ead1e3086b54f1677e31bc9550394ef0fc73701f3201e1cada1ff0ad2ef7950e86562a10228976da4aa3f7d86c95582168e6df2a12ba4318749d4c8087a11d6f7f35a37fdaddc2b07a593d79d6714ed6ee8188f599dae1aec1d627c07d0cca074844d21ec0ae7b95ee1d73676139fdac70756e01082912fe335a8407b9c21b6e6af327601216763c57b02f7709dfd1e406b6e07ddc7b03ae752409c7b75c5bd6ef826d19ecf2654737a6c8ea9ab71bc72a2d98eef7c46b74b5a4e70db5e9f9442645090c019c6c57d873cbb4a8ae835ce22b9e72a7f2aebbce2008f3fa97975c22edec05adbf9984039d914e779010040210c491449ed08bcad0178a63cba107a5561905e62fcbbe19227df5170cfbb53cb4deb8c4c47'/>



*** User 2024-04-12 09:30:17.058 ***🔗
alicE_too_big_opening_tag_is_rejected_13@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4f90ea84e93b5b3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-12 09:30:17.070 ***🔗
alicE_too_big_opening_tag_is_rejected_13@localhost in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-04-12 09:30:17.070 ***🔗
alicE_too_big_opening_tag_is_rejected_13@localhost in
</stream:stream>
*** CT 2024-04-12 09:30:17.072 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_30.html



=== Ended at 2024-04-12 09:30:17
=== successfully completed test case
=== === Returned value: true