GitHub user rob05c opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/60

    Traffic Monitor 2.0 HTTP Dispatch Improvements

    Changes Traffic Monitor 2.0 HTTP dispatching to give a map directly
    to the srvhttp.Server, to register endpoints. This not only makes
    serving faster, but makes the code less error prone, by directly
    dispatching instead of using a giant switch statement.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rob05c/incubator-trafficcontrol tm2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/60.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #60
    
----
commit b2f8a16e0f29201d365327c12178028954f2fa6a
Author: Robert Butts <[email protected]>
Date:   2016-11-04T16:15:50Z

    Rename TM2 commonError to wrapErr

commit 638cb21ef84ae76f4d38e60230fb8a5eaaaab890
Author: Robert Butts <[email protected]>
Date:   2016-11-07T21:50:39Z

    add TM2 log.Write

commit 6b2fd6336f6c8767e0b1d62fc70e915c4f3d6db2
Author: Robert Butts <[email protected]>
Date:   2016-11-07T21:54:48Z

    Change TM2 HTTP dispatch to use a map
    
    Changes Traffic Monitor 2.0 HTTP dispatching to give a map directly
    to the srvhttp.Server, to register endpoints. This not only makes
    serving faster, but makes the code less error prone, by directly
    dispatching instead of using a giant switch statement.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to