=== 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,ip_address => "0",
           connection_type => undefined,max_stanza_size => 65536,
           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_tuple => {0,0,0,0},
           ip_version => 4,proto => tcp,c2s_state_timeout => 5000,
           backwards_compatible_session => true,proxy_protocol => false,
           max_connections => infinity,reuse_port => false}},
     {watchdog,<0.1497.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@6ebac22519b0.2024-02-23_08.34.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-02-23_08.34.58/mim_c2s_suite.too_big_opening_tag_is_rejected.1026.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@6ebac22519b0.2024-02-23_08.34.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-02-23_08.34.58/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">>,
                    uids => [{<<"uid">>,<<"%u">>}],
                    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,
                    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_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 => []},
              backend => ldap,iqdisc => parallel},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        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_sic => #{iqdisc => one_queue},
        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,<<"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@6ebac22519b0.2024-02-23_08.34.56"

=== Started at 2024-02-23 08:34:58


*** CT 2024-02-23 08:34:58.795 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_24.html

*** User 2024-02-23 08:34:58.883 ***🔗
alicE_too_big_opening_tag_is_rejected_12@localhost out
<stream:stream bigattr='28fe523580588f0bc3ed84aa4337ee09b535a567c07bd4cab76893420447612cd92ad5c37140b14916189b73b508776f50f1b4658788dcdae276fc70bde0e746a5fce603f179be0136c60b05bf9a1156739a2fc7b5b3714c005a9c85d605ba8752c42e191d49b30dae3727ca0d23a6a74c8e7db695306186a02f333fb5d0b72ebe2672ef1149794aef9ad6b153511d6ce0964621d48ed27971f6b84d231da3cba9c846d6ae387fd76316f592a1d58d14e29313312ed17e0ac9345fbd375560d434b822d0f0f4928a8bb8b9a5153e0f8fe94db0de93342c983bd3abaf96dd1ddb77a76526f093f0ad93695c3d591bbea89c10e3cf6e18325e56ce7b76c163ee746e858c79b4d654ec128fcc365afc5ce75a4467acb83a0a827ed360edcd87a43eba927886bf56a2e3a541df9092d851adb24d5590123bca9ce4218531d6eb26348c5d349464eee9ff1f70a8f298e675da7f791a551545ffc7e8fe3207e4ca26f979e8368189b52e50919ff7a91d5ee2bc85459c3f6b1fc5949c28ba983be20580edf57faa4003cb558c54b4c28857f7fbb60d3cf76cd06c8cfd73e9420c438f33eb274d55d81467c6aa9494637d3f8b22e475dacb5459680ef76d5ed7ade6d78848b3578d0a76008cdca611728c17e2d6b2fe047888a4225143a93ea0fc7f3dfa577b04eb4ff9c8c991fe89e1ed536deed6da32f2a9834ea0ba6683c2261833a2db347887cc79485a073a31d7af1cbd5e276af2a77429222fe5a2f8aba53b1100255ed99e4af6d8fb0d3f5753590e6efb40a9b8f5a4f55abf42d3bbff715b29c4f167afb615130dee69983c65cf80eab3d81ffbbf9efa11a30cb6df3f14dc6ce9bdfd53447f19d276a1eb7720d8f8e15bc63b4e1f7916c3324e03bf131bf8993705d0c711b8c5904837b107ce1311ab342f8b0f08d363352f2995b34069f53f2424085c2fcc03ecc5fe3fbb29a5e8f53cebd3081b43b24233a4c63f83a22fa42c4ac111c888c3e44c7e1c86dacc0cd2e1403942751d229e3009ac6eb70781d58c4b4b16b7c1fded70324513725c42cc214ec42384a65478b66a902cf46eb26627f92540b9e3df2535dcd04f9095de9ca09232af8d5ef2dfe7b249b03f032d96f5b96afabe56367c4b31d310d1b78ab377c1b567c8b64a5a856e1c00ce2b5e6efe3ada58eae5ba0633cbefdd543eca1b2efcd7a8ab9b79cbc9ea32abc66da030ce2de40fb5859dc6a1250b6a7aa736f0f62ccadc90ee9485f64034cc69614d113f91b752771d17f85851dbb124c5a6008a98ea232c190ecb142636a05d07608d36b20cc20780076e3a0a72e4521e9816ec7c248d25809ec969e27bd98a30ea5d7eadc454edc72da0585838cd5b93932ca40afe12818d1b09e475c6944a273dcc1d6be7afe89fadcd637ce6b37d73e998f901db60fa8abe8a7a46d217bf5bcf3b9d'/>



*** User 2024-02-23 08:34:58.884 ***🔗
alicE_too_big_opening_tag_is_rejected_12@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cef5264f4c8b37e8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-23 08:34:58.900 ***🔗
alicE_too_big_opening_tag_is_rejected_12@localhost in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-02-23 08:34:58.900 ***🔗
alicE_too_big_opening_tag_is_rejected_12@localhost in
</stream:stream>
*** CT 2024-02-23 08:34:58.902 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_30.html



=== Ended at 2024-02-23 08:34:58
=== successfully completed test case
=== === Returned value: true