(owner *httpSmartSubtransport, req *http.Request)
| 134 | } |
| 135 | |
| 136 | func newManagedHttpStream(owner *httpSmartSubtransport, req *http.Request) *httpSmartSubtransportStream { |
| 137 | r, w := io.Pipe() |
| 138 | return &httpSmartSubtransportStream{ |
| 139 | owner: owner, |
| 140 | req: req, |
| 141 | reader: r, |
| 142 | writer: w, |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | func (self *httpSmartSubtransportStream) Read(buf []byte) (int, error) { |
| 147 | if !self.sentRequest { |
no outgoing calls
no test coverage detected
searching dependent graphs…