You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Conan Wang (JIRA)" <ji...@apache.org> on 2013/05/05 16:00:16 UTC

[jira] [Commented] (TS-1053) get combo_handler compiled

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

Conan Wang commented on TS-1053:
--------------------------------

Leif, after making esi and combo_handler share code, I need to write both esi.so and combo_handler.so in plugins.config to make the combo_handler work normally. 

If only enable combo_handler.so, it'd end up with:
{code}
ERROR: unable to load '/Users/conan/box/ts-trunk/libexec/trafficserver/combo_handler.so': dlopen(/Users/conan/box/ts-trunk/libexec/trafficserver/combo_handler.so, 2): Symbol not found: _threadKey
  Referenced from: /Users/conan/box/ts-trunk/lib/libesi.0.dylib
  Expected in: flat namespace
 in /Users/conan/box/ts-trunk/lib/libesi.0.dylib
{code}

1. If we have to configure like this(enable both though only need combo's feature), do we need a way to disable the function of esi?

2. configuring both still doesn't work for my remap patch in TS-1827(as I commended there).
                
> get combo_handler compiled
> --------------------------
>
>                 Key: TS-1053
>                 URL: https://issues.apache.org/jira/browse/TS-1053
>             Project: Traffic Server
>          Issue Type: Task
>          Components: Plugins
>            Reporter: Conan Wang
>            Assignee: Leif Hedstrom
>             Fix For: 3.3.3
>
>         Attachments: combo_handler.diff, fetcher.diff, Makefile
>
>
> combo_handler require ESI's code. Before make ESI work as a lib, you can try it this way:
> make "esi/lib" and "esi/fetcher" the subdir of combo_handler and use the makefile.
> {noformat} 
> combo_handler
> |____combo_handler.cc
> |____fetcher
> |____lib
> |____LICENSE
> |____Makefile
> |____README
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira