=== 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,proto => tcp,
           ip_address => "0",ip_version => 4,
           ip_tuple => {0,0,0,0},
           shaper => c2s_shaper,proxy_protocol => false,
           max_connections => infinity,reuse_port => false,
           connection_type => undefined,max_stanza_size => 65536,
           c2s_state_timeout => 5000}},
     {watchdog,<0.1427.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-25_16.17.04/mim_c2s_suite.too_big_opening_tag_is_rejected.3.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@a000afa994eb.2024-04-25_16.17.04/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-25_16.17.04/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_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_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_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@a000afa994eb.2024-04-25_16.17.04"

=== Started at 2024-04-25 16:17:05


*** CT 2024-04-25 16:17:05.066 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_19.html

*** User 2024-04-25 16:17:05.170 ***🔗
alicE_too_big_opening_tag_is_rejected_6@domain.example.com out
<stream:stream bigattr='23f63bc8bafe13299d135e293e0b595c322b8b65e4bf2ec806dde555364a1e7719f74f3e68a14413b13f428921bc9329a9faa0071f219f8e0e4a931db9336571d9b7e3379a2ad1333ebbe495ecfa12ee1f1b61e18a4e06e58472f691f4a74708e190effb401e862169da445368b8080ceed2452ea1eb90d4fe955a2fdf14250eabde91c44d1e4c569fce3c13aadd83f3d453e2fce36f7a106ff4f3d613c301eb019e139cbb73905939700fa5f9d53e4a6d28acba1ec4a88862285423110854519888082bf9bace0eb3f11b860ae248e235ed58cb918ea9ad34ddbf290b4e8805b07a3a0afc43364f11b5ce4f85d2bc7136754adcb7a94b94b0358b5a9aaf913b8514e17181388541f0e9b38abf6a2991f1eb1afd344d1e3c68255d0c8b713bd2ce0c5f542cd8f86feef27d58c873569d8505db580d3a71c0925cfc8f08a89d695ec1a37210f5e71619eb480787d57d78bd280a0eda40a5e7b3236f900c488f6c49605bd4db1da68c5a83025a6c5f481e0f7f1e0f1e1f29c2fff64edffade09cc6095f1d829937e825905d7c964689dd939b4e073cc4414ff950d813fd2a410d8b50e8acd22806c004a39e106275ca4a2139c2d3ecfa0d415b814e6c1df0c0610aed6c52267bb26b4a69ef0b0d7f6ab410f622efc17d2fd7c1ae80aaab10dbc7e5736a6af5bec9fd1adfe7281495f73e5d2e823696248c3df205868c5c9f052f065005a27d5d09b49120a62e340ef1842b3521cfc149486af97e242c668b3f71bdd02435d1608b3be9445d86577b9ed03155cfa210f42a8e5c7e9093e62b20feba10a59115f18bd79ead8de19e8c0c57f0655276af88aba1656d8ede54f985f48460d0156e71dc4477cc397356d2a715c368cec14f3b8a132047f02508c834612f71b70e561381995709fe13f12d8169fdaa0bfb83225a9c2b5d46fc2fdcd4bf858f34a7e4ad5f741f7b8d25acb78279788802acbcd2f6ff66e968de47dfb551f9b29115f719b4082aebaa4e207b27a6527218dba7b62a1f3e7c15632be989434b1f68dbaa7870fc7cf412ac35c57cfb70478c40d8a7605514eb28edc60ecada2c4258c5aa820633ee724d1f7d69f361854d7734c3672368fab27bcaa5ec0911c794d4ea0e19e40028f1afb09bf2131cf0bf76fdcecac920cebe4244bc375f5e19ddaca1f5e74b87b3356e8b12bc3a2a4d8e7829fa6f4155f681cd27a645472e2f0d01614b0c1853146974a5b4621b9373bb60448aab0e56cf400dbdc5408d140b3afa02282befc3cba8cf937c6adb31ca7c40a702142c9c0e05dfb4f0a4095f64376658b6c41bc8c9c732ffef0b16d6b03802e0861f2f323ab6de0bae2a7d3cb5619be8702da5e3a3d26bf748b9c3a1c1bce31701dceaff2478a8c63d03565bf9a6131dff778eeb001433689daeee844da16eb922be992f2ddb4a3824aa1fa55'/>



*** User 2024-04-25 16:17:05.170 ***🔗
alicE_too_big_opening_tag_is_rejected_6@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14fb698f8ea78988' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:17:05.185 ***🔗
alicE_too_big_opening_tag_is_rejected_6@domain.example.com in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-04-25 16:17:05.185 ***🔗
alicE_too_big_opening_tag_is_rejected_6@domain.example.com in
</stream:stream>
*** CT 2024-04-25 16:17:05.195 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_25.html



=== Ended at 2024-04-25 16:17:05
=== successfully completed test case
=== === Returned value: true