Skip to content

Commit

Permalink
Issue #86: Updated leaf to version 0.10.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
tladesignz committed Feb 26, 2024
1 parent c9e675c commit 3caab4c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "leaf"]
path = leaf
url = https://github.com/tladesignz/leaf.git
url = https://github.com/eycorsican/leaf.git
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: b6e86153d25c71cbc84ffa8adc16a2633fb45e41

COCOAPODS: 1.15.0
COCOAPODS: 1.15.2
2 changes: 1 addition & 1 deletion leaf
Submodule leaf updated 92 files
+86 −46 .github/workflows/ci.yml
+124 −81 .github/workflows/release.yml
+1 −7 .gitignore
+1 −1 Cargo.toml
+6 −27 Makefile
+4 −14 leaf-bin/Cargo.toml
+1 −1 leaf-bin/src/main.rs
+6 −7 leaf-ffi/Cargo.toml
+69 −55 leaf/Cargo.toml
+39 −52 leaf/build.rs
+6 −5 leaf/src/app/api/api_server.rs
+70 −73 leaf/src/app/dispatcher.rs
+62 −23 leaf/src/app/dns_client.rs
+17 −7 leaf/src/app/fake_dns.rs
+214 −0 leaf/src/app/inbound/cat_listener.rs
+34 −8 leaf/src/app/inbound/manager.rs
+3 −0 leaf/src/app/inbound/mod.rs
+25 −7 leaf/src/app/inbound/network_listener.rs
+103 −70 leaf/src/app/logger.rs
+14 −4 leaf/src/app/nat_manager.rs
+99 −31 leaf/src/app/outbound/manager.rs
+7 −2 leaf/src/app/outbound/mod.rs
+2 −1 leaf/src/app/outbound/selector.rs
+60 −62 leaf/src/app/outbound/selector_cache.rs
+20 −27 leaf/src/app/router.rs
+19 −1 leaf/src/app/stat_manager.rs
+14 −6 leaf/src/common/io.rs
+1 −1 leaf/src/common/resolver.rs
+13 −8 leaf/src/common/sniff.rs
+152 −42 leaf/src/config/conf/config.rs
+18 −12 leaf/src/config/external_rule.rs
+322 −415 leaf/src/config/geosite.rs
+21 −2 leaf/src/config/internal/config.proto
+2,110 −3,058 leaf/src/config/internal/config.rs
+140 −29 leaf/src/config/json/config.rs
+54 −43 leaf/src/lib.rs
+97 −0 leaf/src/mobile/callback.rs
+6 −1 leaf/src/mobile/logger.rs
+1 −0 leaf/src/mobile/mod.rs
+42 −0 leaf/src/option/mod.rs
+84 −14 leaf/src/proxy/amux/mod.rs
+39 −10 leaf/src/proxy/amux/outbound/stream.rs
+10 −8 leaf/src/proxy/chain/inbound/mod.rs
+3 −3 leaf/src/proxy/chain/outbound/datagram.rs
+7 −1 leaf/src/proxy/chain/outbound/stream.rs
+53 −0 leaf/src/proxy/datagram.rs
+1 −0 leaf/src/proxy/direct/stream.rs
+1 −0 leaf/src/proxy/drop/stream.rs
+95 −220 leaf/src/proxy/failover/datagram.rs
+242 −2 leaf/src/proxy/failover/mod.rs
+98 −209 leaf/src/proxy/failover/stream.rs
+249 −0 leaf/src/proxy/http/inbound/stream.rs
+0 −107 leaf/src/proxy/http/inbound/tcp.rs
+65 −38 leaf/src/proxy/mod.rs
+194 −0 leaf/src/proxy/obfs/http.rs
+5 −0 leaf/src/proxy/obfs/mod.rs
+310 −0 leaf/src/proxy/obfs/tls.rs
+82 −0 leaf/src/proxy/obfs/tls/packet.rs
+75 −0 leaf/src/proxy/obfs/tls/template.rs
+4 −4 leaf/src/proxy/outbound.rs
+86 −141 leaf/src/proxy/quic/inbound/datagram.rs
+60 −70 leaf/src/proxy/quic/outbound/stream.rs
+1 −0 leaf/src/proxy/redirect/stream.rs
+1 −1 leaf/src/proxy/shadowsocks/inbound/stream.rs
+52 −2 leaf/src/proxy/shadowsocks/outbound/stream.rs
+43 −44 leaf/src/proxy/shadowsocks/shadow.rs
+1 −1 leaf/src/proxy/socks/inbound/stream.rs
+7 −5 leaf/src/proxy/socks/outbound/datagram.rs
+13 −2 leaf/src/proxy/socks/outbound/stream.rs
+13 −3 leaf/src/proxy/static/stream.rs
+5 −1 leaf/src/proxy/tls/inbound/stream.rs
+83 −34 leaf/src/proxy/tls/outbound/stream.rs
+29 −36 leaf/src/proxy/trojan/inbound/stream.rs
+22 −24 leaf/src/proxy/trojan/outbound/datagram.rs
+20 −2 leaf/src/proxy/trojan/outbound/stream.rs
+21 −3 leaf/src/proxy/tryall/datagram.rs
+20 −2 leaf/src/proxy/tryall/stream.rs
+34 −10 leaf/src/proxy/tun/inbound.rs
+1 −0 leaf/src/proxy/vmess/outbound/stream.rs
+8 −9 leaf/src/proxy/ws/inbound/stream.rs
+17 −14 leaf/src/proxy/ws/outbound/stream.rs
+5 −0 leaf/src/proxy/ws/stream.rs
+5 −6 leaf/src/session.rs
+1 −1 leaf/src/util.rs
+30 −23 leaf/tests/common.rs
+6 −0 leaf/tests/test_in_chain_1.rs
+12 −2 leaf/tests/test_quic_trojan.rs
+6 −0 leaf/tests/test_ws_trojan.rs
+73 −0 scripts/build_android.sh
+79 −0 scripts/build_apple_xcframework.sh
+0 −0 scripts/build_cross.sh
+6 −0 scripts/regenerate_proto_files.sh
1 change: 1 addition & 0 deletions leaf-ffi-orbot/build-leaf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ LIBDIR_IOS="$SCRIPTDIR/ios"
FILENAME="libleaf.a"

export MACOSX_DEPLOYMENT_TARGET=11.0
export IPHONEOS_DEPLOYMENT_TARGET=15.0

if [ -r "$LIBDIR_MACOS/$FILENAME" ] && [ -r "$LIBDIR_IOSSIM/$FILENAME" ] && [ -r "$LIBDIR_IOS/$FILENAME" ]; then
echo "leaf already exists."
Expand Down

0 comments on commit 3caab4c

Please sign in to comment.