| 729 | } |
| 730 | |
| 731 | inline bool |
| 732 | HttpTunnelProducer::is_source() const |
| 733 | { |
| 734 | // If a producer is marked as a client, then it's part of a bidirectional tunnel |
| 735 | // and so is an actual source of data. |
| 736 | return HT_HTTP_SERVER == vc_type || HT_CACHE_READ == vc_type || HT_HTTP_CLIENT == vc_type; |
| 737 | } |
| 738 | |
| 739 | inline void |
| 740 | HttpTunnelProducer::update_state_if_not_set(int new_handler_state) |