Git Product home page Git Product logo

proxy's Issues

请教问题

这个 这个配置文件有点不懂 ,不知道 这么去入手测试

请教大神问题

大佬你好,请问可以根据在代理服务器和代理客户端之间做des加密传输吗?我其实想做转发http请求的,但是需要绕开代理服务器和代理客户端之间http的扫描

【TransferService】关于多线程转发服务的问题

TCP保证的是一块内容的有序以及完整,例如一个HTTP请求就是一个完整的一块内容,当数据量大的时候会切分,最后会按序合并。但如果做文件做传输一般需要实现分块传输提高效率和稳定性,使用多线程去做传输,处理方式分为两种,一种是保证包序,也就是串行传输,另一种则是多线程传输,这块需要自己做包序保证。建议TCP那块要不按channel加队列做串行传输,要不在加入包序,最后做包排序合并。(个人浅解,如有错漏敬请指教)

希望配置文件支持Client端

看到了项目设计的巧妙性,每次通过SessionID来区分不同的请求,从而实现了并发。

转发配置都在server端,通过key读取相关配置,这样的优势是更加安全。
建议支持在Client端配置,这样可以在Server搭建服务,Client端可以灵活配置。

MessageType类有个定义重复了

public class MessageType {
/**
* 代理客户端和真实服务器断开(连接失败)
*/
public static final byte TYPE_DISCONNECT = 0x05;

    /**
     * 代理客户端和真实服务器 连接失败
     */
    public static final byte TYPE_CONNECT_FAIL = 0x05;

}

post请求转发的时候客户端收到了分片,但是HttpObjectAggregator会卡住

如题,用postman发post请求给proxy-server,HttpChannelHandler把FullHttpRequest分成两片:
httpRequestEncoder.encode(ctx, request, list);

客户端的ClientChannelHandler收到了两个分片,但是HttpObjectAggregator有时候会卡住,HttpReceiveHandler的channelRead没有被触发,导致请求卡住了。

这个大概是什么原因了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.