Skip to content

aws_tls_handler_write exists in header file, but there's no implementation? #624

@quinnj

Description

@quinnj

Describe the bug

The tls_channel_handler.h file includes the following declaration:

/**
 * Not necessary if you are installing more handlers into the channel, but if you just want to have TLS for arbitrary
 * data and use the channel handler directly, this function allows you to write data to the channel and have it
 * encrypted.
 */
AWS_IO_API int aws_tls_handler_write(
    struct aws_channel_handler *handler,
    struct aws_channel_slot *slot,
    struct aws_byte_buf *buf,
    aws_channel_on_message_write_completed_fn *on_write_completed,
    void *completion_user_data);

But there doesn't seem to be a generic or any platform-specific implementations of the function.

Expected Behavior

Have an implementation of this function.

Current Behavior

Can't use the function

Reproduction Steps

Tried to use function but discovered I couldn't

Possible Solution

No response

Additional Information/Context

No response

aws-c-io version used

latest master

Compiler and version used

not exactly sure; can find out if needed

Operating System and version

pretty up-to-date macos

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions