├── .env.example ├── .gitignore ├── Dockerfile ├── LICENSE ├── PROJECT_STRUCTURE.md ├── README.md ├── README_EN.md ├── app ├── __init__.py ├── data │ └── blocked_ips.json ├── main.py ├── middleware │ ├── __init__.py │ └── rate_limiter.py └── utils │ ├── __init__.py │ └── logger.py ├── comprehensive_test_report.md ├── config ├── __init__.py └── config.py ├── docker-compose.yml ├── docs └── reports │ ├── comprehensive_test_report.md │ ├── final_test_summary.md │ ├── project_reorganization_final_report.md │ └── streaming_error_fix_report.md ├── requirements.txt ├── run_tests.py └── test_suites ├── __init__.py ├── integration ├── __init__.py ├── conftest.py ├── test_error_handling_failover.py ├── test_final_integration.py └── test_integration_final.py ├── performance └── __init__.py ├── reports ├── __init__.py └── comprehensive_test_report.py ├── security ├── __init__.py ├── conftest.py └── test_logger_robustness.py ├── stress ├── __init__.py ├── conftest.py ├── test_advanced_robustness.py ├── test_extreme_stress.py └── test_rate_limit_extreme.py └── unit ├── __init__.py ├── conftest.py ├── test_comprehensive_functionality.py ├── test_main.py ├── test_rate_limit_comprehensive.py ├── test_streaming_error_direct.py ├── test_streaming_error_fix_validation.py ├── test_streaming_error_issue.py └── test_streaming_functionality.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .venv/ 2 | .idea/ 3 | .claude/ 4 | CLAUDE.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/LICENSE -------------------------------------------------------------------------------- /PROJECT_STRUCTURE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/PROJECT_STRUCTURE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/README.md -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/README_EN.md -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/data/blocked_ips.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/app/main.py -------------------------------------------------------------------------------- /app/middleware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/app/middleware/__init__.py -------------------------------------------------------------------------------- /app/middleware/rate_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/app/middleware/rate_limiter.py -------------------------------------------------------------------------------- /app/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- -------------------------------------------------------------------------------- /app/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/app/utils/logger.py -------------------------------------------------------------------------------- /comprehensive_test_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/comprehensive_test_report.md -------------------------------------------------------------------------------- /config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/config/__init__.py -------------------------------------------------------------------------------- /config/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/config/config.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/reports/comprehensive_test_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/docs/reports/comprehensive_test_report.md -------------------------------------------------------------------------------- /docs/reports/final_test_summary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/docs/reports/final_test_summary.md -------------------------------------------------------------------------------- /docs/reports/project_reorganization_final_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/docs/reports/project_reorganization_final_report.md -------------------------------------------------------------------------------- /docs/reports/streaming_error_fix_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/docs/reports/streaming_error_fix_report.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/run_tests.py -------------------------------------------------------------------------------- /test_suites/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_suites/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_suites/integration/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/integration/conftest.py -------------------------------------------------------------------------------- /test_suites/integration/test_error_handling_failover.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/integration/test_error_handling_failover.py -------------------------------------------------------------------------------- /test_suites/integration/test_final_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/integration/test_final_integration.py -------------------------------------------------------------------------------- /test_suites/integration/test_integration_final.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/integration/test_integration_final.py -------------------------------------------------------------------------------- /test_suites/performance/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_suites/reports/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_suites/reports/comprehensive_test_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/reports/comprehensive_test_report.py -------------------------------------------------------------------------------- /test_suites/security/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_suites/security/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/security/conftest.py -------------------------------------------------------------------------------- /test_suites/security/test_logger_robustness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/security/test_logger_robustness.py -------------------------------------------------------------------------------- /test_suites/stress/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_suites/stress/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/stress/conftest.py -------------------------------------------------------------------------------- /test_suites/stress/test_advanced_robustness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/stress/test_advanced_robustness.py -------------------------------------------------------------------------------- /test_suites/stress/test_extreme_stress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/stress/test_extreme_stress.py -------------------------------------------------------------------------------- /test_suites/stress/test_rate_limit_extreme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/stress/test_rate_limit_extreme.py -------------------------------------------------------------------------------- /test_suites/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_suites/unit/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/unit/conftest.py -------------------------------------------------------------------------------- /test_suites/unit/test_comprehensive_functionality.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/unit/test_comprehensive_functionality.py -------------------------------------------------------------------------------- /test_suites/unit/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/unit/test_main.py -------------------------------------------------------------------------------- /test_suites/unit/test_rate_limit_comprehensive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/unit/test_rate_limit_comprehensive.py -------------------------------------------------------------------------------- /test_suites/unit/test_streaming_error_direct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/unit/test_streaming_error_direct.py -------------------------------------------------------------------------------- /test_suites/unit/test_streaming_error_fix_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/unit/test_streaming_error_fix_validation.py -------------------------------------------------------------------------------- /test_suites/unit/test_streaming_error_issue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/unit/test_streaming_error_issue.py -------------------------------------------------------------------------------- /test_suites/unit/test_streaming_functionality.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alencryenfo/CILRouter/HEAD/test_suites/unit/test_streaming_functionality.py --------------------------------------------------------------------------------