You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/10 14:55:22 UTC

[jira] [Commented] (TS-2514) Convert all lenth parameters from Int to off_t (or size_t)

    [ https://issues.apache.org/jira/browse/TS-2514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965304#comment-13965304 ] 

ASF subversion and git services commented on TS-2514:
-----------------------------------------------------

Commit a7b7d5f98cfc94ba95ea572cadc5d14f8ecdf153 in trafficserver's branch refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=a7b7d5f ]

TS-2707 Migrate TSRedirectUrlSet/Get to TSHttpTxnRedirectUrlSet/Get

1. We leave TSRedirectUrlSet() / Get() as is (as far as functionality
goes). This makes this proposal both API and binary compatible with v4.2.x.

2. We mark them as Deprecated, removing the old API in 6.0.0.

3. We add TSHttpTxnRedirectSet() / Get() , with the new string ownership as
described above. This naming convention is much better aligned with the rest
of our APIs.

I left the URL string lengths as int type for now, we’ll discuss at the Summit
about TS-2514, changing our usage of “int” to more appropriate size_t etc.


> Convert all lenth parameters from Int to off_t (or size_t)
> ----------------------------------------------------------
>
>                 Key: TS-2514
>                 URL: https://issues.apache.org/jira/browse/TS-2514
>             Project: Traffic Server
>          Issue Type: Sub-task
>          Components: Cleanup, TS API
>            Reporter: Igor Galić
>             Fix For: sometime
>
>
> Since this is an API breaking change we should do this with 7.0.0



--
This message was sent by Atlassian JIRA
(v6.2#6252)