Ok, cool.. I did some modifications using the new API and the plugin worked.
Let me just point out the solution to a specific problem I had while
installing 3.0 on a machine that was running 2.1.8.

After doing make and make install the configuration files do not get
replaced, and the variables that previously were:

CONFIG proxy.config.hostdb.size INT 200000
CONFIG proxy.config.hostdb.storage_size INT 33554432

Should now be

CONFIG proxy.config.hostdb.size INT 200000
CONFIG proxy.config.hostdb.storage_size INT 67108864

This issue was actually mentioned last year in a mailing list around here.
http://www.mail-archive.com/users@trafficserver.apache.org/msg00261.html

Nelson R. Pérez

On Tue, Jun 14, 2011 at 1:54 PM, Leif Hedstrom <zw...@apache.org> wrote:

> On 06/14/2011 10:47 AM, Nelson Perez wrote:
>
>> Hello, I've just downloaded and started testing TS 3.0 and realized the
>> old
>> protocol plugin is not working. To give a little bit more detail there is
>> a
>> function missing in InkAPI.cc called
>> TSHostLookupResultIPGet. So what should I do? I was actually running 2.1.8
>> before and looked at this list of corrections but could not findany
>> mention
>> of that function being changed.
>>
>
> There are new APIs for this I think, e.g.
>
>    TSHttpTxnClientAddrGet()
>    TSHttpTxnIncomingAddrGet()
>    TSHttpTxnServerAddrGet()
>    TSHttpTxnServerAddrSet()
>    TSHttpTxnNextHopAddrGet()
>
>
> This was done in preparation for full IPv6 support.
>
> -- Leif
>
>

Reply via email to