Wireshark-commits: [Wireshark-commits] master-2.4 278bb22: HTTP: set correct server port for tunnel

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 10 Aug 2018 11:33:47 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=278bb2267c748161e77f12f4af1bfb3dcb4ab15f
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark

Commits:

278bb22 by Peter Wu (peter@xxxxxxxxxxxxx):

    HTTP: set correct server port for tunnels
    
    The server port must be set or else http_payload_subdissector will
    assume two independent flows originating from the client. For example,
    client 50813 connects through proxy server 3128 to server 443.
    Previously it would result in three conversations: 50813<->3128 (proxy),
    50813->443, 3128->443. Now it will see 50813<->3128 and 3128<->443 and
    TLS decryption will work again.
    
    Bug: 15042
    Change-Id: I50bcef568be320b6512ee6fc5a09d2838d2f7a9a
    Reviewed-on: https://code.wireshark.org/review/29046
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 2f126db3fea715428b43c346d98cad1a8b3a88d6)
    Reviewed-on: https://code.wireshark.org/review/29055
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  bbf46eb   802.11 Radiotap: add more bound checks in ieee80211_radiotap_iterator_next()
     add  278bb22   HTTP: set correct server port for tunnels


Summary of changes:
 epan/dissectors/packet-http.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)