91快播 v3.3.0版本的 MD5 值为:094b9519ad2388a8147509cb8a126145

以下内容为反编译后的 C2633.java 源代码,内容仅作参考


package anta.ᆁ;

import anta.ၦ.C2304;
import anta.ᅤ.C2617;
import java.io.OutputStream;
import java.net.Socket;
import java.util.Arrays;
import java.util.Locale;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class C2633 {
    public final ExecutorService f6316 = Executors.newSingleThreadExecutor();
    public final int f6317;
    public final String f6318;

    public class CallableC2635 implements Callable<Boolean> {
        public CallableC2635(C2634 c2634) {
        }

        @Override
        public Boolean call() {
            boolean z;
            C2624 c2624 = new C2624(C2633.this.m2673(), new C2617(), new C2304(), null, null);
            try {
                try {
                    byte[] bytes = "ping ok".getBytes();
                    c2624.mo2665(0L);
                    byte[] bArr = new byte[bytes.length];
                    c2624.mo2663(bArr);
                    z = Arrays.equals(bytes, bArr);
                    C2639.m2680("Ping response: `" + new String(bArr) + "`, pinged? " + z);
                } catch (C2628 e) {
                    C2639.m2678("Error reading ping response", e);
                    z = false;
                }
                c2624.close();
                return Boolean.valueOf(z);
            } catch (Throwable th) {
                c2624.close();
                throw th;
            }
        }
    }

    public C2633(String str, int i) {
        this.f6318 = str;
        this.f6317 = i;
    }

    public final String m2673() {
        return String.format(Locale.US, "http://%s:%d/%s", this.f6318, Integer.valueOf(this.f6317), "ping");
    }

    public void m2674(Socket socket) {
        OutputStream outputStream = socket.getOutputStream();
        outputStream.write("HTTP/1.1 200 OK\n\n".getBytes());
        outputStream.write("ping ok".getBytes());
    }
}