<commit_before>/*
 * Web Application Socket client.
 *
 * author: <NAME> <<EMAIL>>
 */

#include "was-server.h"
#include "was-protocol.h"
#include "was-control.h"
#include "was-output.h"
#include "was-input.h"
#include "http-response.h"
#include "async.h"
#include "pevent.h"
#include "direct.h"
#include "istream-internal.h"
#include "fifo-buffer.h"
#include "buffered-io.h"
#include "fd-util.h"

#include <daemon/log.h>

#include <errno.h>
#include <string.h>
#include <sys/socket.h>
#include <unistd.h>

struct was_server {
    pool_t pool;

    int control_fd, input_fd, output_fd;

    struct was_control *control;

    const struct was_server_handler *handler;
    void *handler_ctx;<commit_msg>was-server: fix libwas includes<commit_after>/*
 * Web Application Socket client.
 *
 * author: <NAME> <<EMAIL>>
 */

#include "was-server.h"
#include "was-control.h"
#include "was-output.h"
#include "was-input.h"
#include "http-response.h"
#include "async.h"
#include "pevent.h"
#include "direct.h"
#include "istream-internal.h"
#include "fifo-buffer.h"
#include "buffered-io.h"
#include "fd-util.h"

#include <was/protocol.h>
#include <daemon/log.h>

#include <errno.h>
#include <string.h>
#include <sys/socket.h>
#include <unistd.h>

struct was_server {
    pool_t pool;

    int control_fd, input_fd, output_fd;

    struct was_control *control;

    const struct was_server_handler *handler;
    void *handler_ctx;
{'fraction_non_alphanumeric': 0.16056338028169015, 'fraction_numerical': 0.0, 'mean_word_length': 4.403041825095057, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '573334', 'n_tokens_mistral': 550, 'n_tokens_neox': 540, 'n_words': 124}