mosn源码-stream处理前阶段
2021-01-18 18:16:44 1 举报
AI智能生成
mosn源码调用走图,帮助你快速掌握和理解mosn的调用关系,完全手动制作
作者其他创作
大纲/内容
pkg/network/filtermanager.go:76-onContinueReading()
pkg/network/filtermanager.go:139-ContinueReading()
pkg/filter/network/faultinject/faultinject.go:64-tryInjectDelay
pkg/network/filtermanager.go:139-ContinueReading()
pkg/network/filtermanager.go:111-OnRead
pkg/network/connection.go:422-onRead
pkg/network/connection.go:366-doRead
pkg/network/connection.go:283-startReadLoop
pkg/network/connection.go:215-startRWLoop
pkg/network/connection.go:163-attachEventLoop
pkg/network/connection.go:153-Start
pkg/server/handler.go:441-OnNewConnection()
pkg/server/handler.go:486-newConnection()
pkg/server/handler.go:565-ContinueFilterChain
pkg/server/handler.go:396-OnAccept()
pkg/network/transfer.go:520-transferNewConn
pkg/network/transfer.go:102-transferHandler
pkg/network/transfer.go:56-TransferServer
pkg/mosn/starter.go:54-NewMosn
pkg/network/listener.go:181-accept()
pkg/network/listener.go:81-Start()
pkg/server/handler.go:384-GoStart
pkg/server/adapter.go:85-AddOrUpdateListener
pkg/server/handler.go:205-StartListener
pkg/server/handler.go:214-StartListeners
pkg/server/server.go:101-Start
pkg/mosn/starter.go:240-Start
pkg/xds/conv/update.go:95-ConvertAddOrUpdateListeners
pkg/server/server.go:64-NewServer
pilot下发xds处理相关
pkg/mosn/starter.go:267-Start
pkg/server/handler.go:58-NewHandler
pkg/filter/network/tcpproxy/factory.go:37-CreateFilterChain
pkg/filter/network/tcpproxy/proxy.go:53-NewProxy
pkg/filter/network/proxy/factory.go:38-CreateFilterChain
pkg/proxy/proxy.go:96-NewProxy
pkg/server/handler.go:97-AddOrUpdateListener
pkg/server/handler.go:346-newActiveListener
proxy/proxy实例化完成
pkg/proxy/proxy.go:154-CreateServerStreamConnection
HTTP
pkg/stream/factory.go:36-CreateServerStreamConnection
pkg/stream/http/stream.go:79-CreateServerStream
pkg/stream/http/stream.go:302-newServerStreamConnection
pkg/stream/http/stream.go:344-serve
pkg/stream/http/stream.go:686-handleRequest
p.serverStreamConn.Dispatch(buf)
HTTP2
sofarpc
xprotocol
pkg/proxy/downstream.go:278-OnReceive
conn.codecEngine.Decode
pkg/stream/http2/stream.go:234-handleFrame
pkg/module/http2/mhttp2.go:320-HandleFrame
conn.codecEngine.Decode
pkg/stream/sofarpc/stream.go:198-handleCommand
pkg/stream/sofarpc/stream.go:248-processStream
pkg/stream/xprotocol/stream.go:208-OnReceive
分割byte流,解析header
pkg/network/connection.go:809-NewClientConnection
pkg/network/filtermanager.go:31-newFilterManager
pkg/network/connection.go:98-NewServerConnection
pkg/upstream/cluster/host.go:94-CreateConnection
0 条评论
下一页