=== 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,
                 certfile => "priv/ssl/fake_server.pem",
                 ciphers => "TLSv1.2:TLSv1.3",
                 dhfile => "priv/ssl/fake_dh_server.pem",verify_mode => none,
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
           backwards_compatible_session => true,
           ip_tuple => {0,0,0,0},
           ip_address => "0",ip_version => 4,proto => tcp,
           proxy_protocol => false,shaper => c2s_shaper,
           max_stanza_size => 65536,c2s_state_timeout => 5000,
           max_connections => infinity,reuse_port => false,
           connection_type => undefined}},
     {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@e830f4894539.2024-03-21_07.45.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-03-21_07.45.58/mim_c2s_suite.too_big_opening_tag_is_rejected.515.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@e830f4894539.2024-03-21_07.45.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-03-21_07.45.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">>,
                    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">>}],
                    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">>]}],
                    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,versioning => false,
              store_current_id => false,backend => mnesia},
        mod_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,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,<<"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@e830f4894539.2024-03-21_07.45.56"

=== Started at 2024-03-21 07:45:59


*** CT 2024-03-21 07:45:59.132 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_24.html

*** User 2024-03-21 07:45:59.239 ***🔗
alicE_too_big_opening_tag_is_rejected_8@localhost out
<stream:stream bigattr='75bdec71e8deb270d339084360aacd4b55d180027bdbf1df8738aeb8f86c7edc28b946982d3b67213bebab9c29610f41f26791f15ac7c6e491562289caca2bdabc8b60ce78ea7538c6bec04de5569fb947aef95e6eb8dbd7ee987e90b13d40d22a3ec35db84e3157ea35998e6f32dede0f5958e474c96096c4430e6624abc54c51b3a3780c1231248e6a07b03e3db7e484a245d1e465101bdbb0c47ea12c8010851af39b5bb73fb434924edf9266a3ddaf56c58dd8d219f31d626ed27acc250095351b684cd7b9804227abeaccefdd37cc8f0973162a6b0ac3ced259265c548e5a80e282231ab0a0bf99d2aae7bd6b0e8bddc3e6d638896a6a1467f0d14a8511887d28a4c2eff03549e196caf7c090297fefee9c585b0be9cf479bc8ea4e673c4c8ae13235cbeb95fe98efa8e45203cb1bcc314a4fe6d4b8150abf5308b1ac1bc2177368cc1bf7e3fb1984e50390cfef8e38b5ecf80ba5e06c955ba743a01ae52fc158e9027740a67730c1308230a235a0f30200583492f7bd4466fe9a13b6f5d522f323dfc632d8b2095c2d14bb2931e9e78b5ee5a28fdc9511703d2cf92ae7a1e9a3a6290683a80aa1496a86cbb5dbfd59c96c4719d41d16b033d19d1c352548d4650783ddc4fe4f36a62b09c9ab18093ac5519789067ba5d036e0dc2cb4fd8ad9236c2799195b488a2c21e3144bc540302a81264d33f234c0b4d56b258b58a8c2413843cb65e3f568118bb87831f99e1929a7a6146d417184317235138a9b973d26ee13fec74df3e5d79509271681658b811d0ca48f10bcf6ff07e9c5541f19e42f881dba9e1cba75c0d4634a1ad3e33194972e3ad9ecfd7d7bc3f685b20573e06e9ef17a694f147642319c4cf32bcb052c14f8138058f272d9e131d9410fcfaa8c3eb5112e1d336dbe7cb7e8c86a21adbad30d134cd953441786b2b8829479567cb14166d3e3140cb9aa4ef6cfd52d4b347084bec14711c76bed531a9800577e66060bc94768b3e078be68c1a36c416f8bda15f020d521c529cb5b8af9cc064a859cf1291689430a848e4fc8aa1c57618e64eba3951a068a89da2626f7421209fa0cae093ddc968b4e5ccb25c49c6991dea6d626179604e0a5fec05a5d6669f8193b75382264dbd6e45bf899d143307db272f21c51edbca25c360fd52fe72e79f976d738eb458ee85d8aa7134b8ebd94af4ee8d9c4a61b345413c4e91b8b8163ddcafcec11f9e2952cb2e7eb2be7e013738671ba83f371231ca179b04004a6ae18ed451a4aeef2ed08fc9bebf9e9ef21e4f219911c7c1ee8a3014ceb9c37aaea6d95a9c0b8dd2e93686c60f86f362e2cfe26b317b3b2a6c53a2d07a5b7f0d84cfe55164c8da4000ac295bf77a5a6e2d51d5eaff4b2a08e76e458c61b98a0d8b52aa559449f7b318a5f5e37ae26a8f4d366b67247b83d3ba0178ab023f0bd'/>



*** User 2024-03-21 07:45:59.240 ***🔗
alicE_too_big_opening_tag_is_rejected_8@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7071dd1744d3b7e3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:45:59.260 ***🔗
alicE_too_big_opening_tag_is_rejected_8@localhost in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-03-21 07:45:59.260 ***🔗
alicE_too_big_opening_tag_is_rejected_8@localhost in
</stream:stream>
*** CT 2024-03-21 07:45:59.262 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_30.html



=== Ended at 2024-03-21 07:45:59
=== successfully completed test case
=== === Returned value: true