Menu

#48 Have CTX functions to get info relevant for transfer Callback

Upstream submission
closed
None
5
2018-01-24
2018-01-10
No

CMP_PKIMESSAGE_http_perform() could be overwritten by means of a callback.

Ensure best practice information hiding by having access functions allowing to get the relevant information without needing to know the internal structure of ctx.

ctx->msgTimeOut
ctx->serverName
ctx->serverPort
ctx->tlsBIO <-- maybe not needed
ctx->proxyName
ctx->proxyPort

others?

Also add a void pointer to the ctx to allow handing other possibly relevant information to the transfer function, e.g. source IP.

Discussion

  • Martin Peylo

    Martin Peylo - 2018-01-10
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,6 +6,8 @@
     ctx->serverName
     ctx->serverPort
     ctx->tlsBIO <-- maybe not needed
    +ctx->proxyName
    +ctx->proxyPort
    
     others?
    
     
  • Martin Peylo

    Martin Peylo - 2018-01-24
    • status: open --> closed
     

Log in to post a comment.