-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathChangeLog
1743 lines (987 loc) · 69.3 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2024-10-22 Francis Brosnan Blázquez <[email protected]>
* [fix] Revision update
* [fix] Removed urchin/google analytics tracker from web page
2024-10-22 Francis Brosnan Blázquez <[email protected]>
* [fix] Web copyright updates
* [fix] Copyright year change
* [fix] Added minor correction to license header (removed "f").
* [fix] Added minimal documentation
2024-10-22 Francis Brosnan Blázquez <[email protected]>
Merge pull request #80 from suminoey/X-Real-IP-header
handle X-Real-IP header for server behind nginx
2024-10-22 Su Min <[email protected]>
Add feature const char * nopoll_conn_get_real_ip_header(NoPollConn* conn) to get X-Real-IP header
2024-09-26 Francis Brosnan Blázquez <[email protected]>
* [fix] Adding initial working files for Ubuntu Noble
2024-03-09 Francis Brosnan Blázquez <[email protected]>
* [fix] More changes for bookworm
* [fix] Adding modifications to complete bookworm packaging
* [fix] Adding packaging for bookworm
2024-03-04 Francis Brosnan Blázquez <[email protected]>
* [fix] Normalizing building directory for rpm based systems now we are only supporting git building (no trunk/)
* [fix] Revision update for release
* [fix] More commits for Ubuntu Jammy internal release
* [fix] Updated revision for jammy internal release
* [fix] Updated compilation files to remove subversion dependencies
2023-11-23 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated dependencies
* [fix] Updated package support for ubuntu jammy
2023-05-25 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated certificates for regression tests
Merge pull request #74 from mwik/ssl_fix
Fix race condition between ssl handshake and loop event
2023-05-25 Mårten Wikström <[email protected]>
Fix race condition between ssl handshake and loop event
2023-02-14 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated Makefile.win to include notes on how to use Makefile.win file
2022-08-26 Francis Brosnan Blázquez <[email protected]>
* [fix] Closing release 0.4.8
* [fix] Adding release note
2022-08-25 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated VERSION
* [fix] Updated dates
2022-01-12 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated compilation files and fixed compilation issues with ssl
2021-12-29 Francis Brosnan Blázquez <[email protected]>
* [fix] Adding files to support debian bullseye
2020-12-03 Francis Brosnan Blázquez <[email protected]>
* [fix] Copyright updates
* [fix] Copyright updates
* [fix] Adding files to support ubuntu focal distribution
2020-10-27 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated release-rutine.txt
* [fix] Updated release runtime
* [fix] Closing release 0.4.7 Stormwind
2020-08-24 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll_conn_read_pending documentation to better reflect how to use it and some pointers to example.
2019-09-27 Francis Brosnan Blázquez <[email protected]>
* [fix] Adding files to produce buster files
2019-09-26 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated get-version.py to avoid overwhelming github.com
* [fix] Updated get-version.py to support loading versioning from LATEST-VERSION.
* [fix] Adding file to track latest version published at packages for those distros without support for github.com access
2019-08-21 Francis Brosnan Blázquez <[email protected]>
* [fix] Making opts to be optional at __nopoll_conn_get_client_init
* [fix] Updated internal private header and .def
* [fix] Updated client side __nopoll_conn_get_client_init to support not generating Origin header in case it is not defined or it was disabled by user by calling:
- nopoll_conn_opts_add_origin_header (opts, nopoll_false)
2019-08-21 Francis Brosnan Blázquez <[email protected]>
* [fix] Added new function, connection option, to allow controlling if Origin header is added to client init transation:
- nopoll_conn_opts_add_origin_header
By default Origin header is always added unless otherwise configured. Library keeps
working the same: it always provides Origin header (either provided by user or
inferred by library) unless not configured with this API.
2019-07-11 Francis Brosnan Blázquez <[email protected]>
* [fix] More fixings to Ubuntu 18 Bionic packaging
* [fix] Adding files to support Ubuntu 18 Bionic
* [fix] Updated regression test17 to include content direction. Reverting wrong path to header initialization values. Added documentation to avoid failing on the same.
Reverting patch (r398 | ananthakrishnan) restoring initial right values. Added
documentation to explain that these are the right values to make test to run
without error.
2019-05-03 Francis Brosnan Blázquez <[email protected]>
* [fix] Configure SNI indication on TLS client connection. Closes https://github.com/ASPLes/nopoll/pull/63. Reported by @mhennecke
* [fix] Fixed nopoll_cmp internal check (reported by @samisallinen). Closes https://github.com/ASPLes/nopoll/issues/65
2019-01-16 Francis Brosnan Blázquez <[email protected]>
Merge pull request #60 from bill1600/fix_connect_err_log
* [fix] Fix connect error log to report the correct errno:
In function __nopoll_conn_sock_connect_opts_internal, after a connect failure, the log statement
is currently placed after the socket shutdown and close, so that errno may by changed before the
message is printed.
This change moves the log statement to before the socket shutdown and close, so that errno is
reported correctly.
2019-01-11 Bill Williams <[email protected]>
fix connect error log to report the correct errno
2018-12-09 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated web references..
2018-11-21 Francis Brosnan Blázquez <[email protected]>
* [fix] Minor fixings to regression-client.c
* [fix] Updated MyQttHub.com references
* [fix] Fixed references to MyQttHub.com
* [fix] Added references to MyQttHub.com project
2018-11-08 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed missing parameter to format string at nopoll_conn.c:3197 Reported by @qianqiangliu. Thanks!
2018-08-21 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed libssl1.1 reference for Debian Stretch.
* [fix] Adding support for Debian Stretch
2018-07-13 Francis Brosnan Blázquez <[email protected]>
Merge pull request #54 from flexVDI/no_warn_incomplete
* [fix] Do not warn about incomplete read/write operations. Thanks to Javier Celaya (github.com/jcelaya). Log messages about not reading or writing as much data as requested are
tagged as warnings, while this is a perfectly normal situation when
dealing with non-blocking sockets. This results in lots of unwanted
warning messages. This commit tags them as debug messages.
2018-07-13 Javier Celaya <[email protected]>
Do not warn about incomplete read/write operations
Log messages about not reading or writing as much data as requested are
tagged as warnings, while this is a perfectly normal situation when
dealing with non-blocking sockets. This results in lots of unwanted
warning messages. This commit tags them as debug messages.
2018-03-01 Francis Brosnan Blázquez <[email protected]>
* [fix] WebUpdates. Closing relese 0.4.6 'The Prophecy'
* [fix] Adding files to close Release 0.4.6 'The prophecy'
Updated autogen.sh to have a default case for no ${OS} matching case
* [fix] Updated autogen.sh to have a default case for no ${OS} matching case
Merge pull request #47 from cableramki/master
* [fix] Updated autogen.sh to detect os and try glibtoolize on Mac. Fixed some regression tests indications to avoid unsigned int issues (Fixed build on Mac. by @cableramki Ramki A.)
2018-03-01 Ananthakrishnan <[email protected]>
Fixed error due to implicit conversion from unsigned 'int' to 'char'.
It does seem to matter what values are passed for the testing as these values are random and not being checked anywhere for verification.
Fixed build on Mac.
2018-02-28 Francis Brosnan Blázquez <[email protected]>
* [fix] Reworked patch by @selvamKrish reported at PR: https://github.com/ASPLes/nopoll/pull/42 to send PONG response to PING frame with message content. Updated PR to avoid nopoll_logging application data received because it might be binary and can break vprintfk causing SEGFAULT and similar problems..
2018-02-26 Francis Brosnan Blázquez <[email protected]>
Merge pull request #39 from softins/nopoll-conn
* [fix] Fixes to __nopoll_conn_receive() and nopoll_conn_get_msg() by @softins
__nopoll_conn_receive():
Check error return on recursive call.
Check conn->receive for all negative returns (both -1 and -2).
Remove write outside the supplied buffer.
nopoll_conn_get_msg():
Add string terminator only at end of payload.
Merge pull request #44 from softins/handshake-mutex
* [fix] Added new mutexes to handle handshake instead of using ref_mutex so
calls to nopoll_conn_ref are possible inside on_ready handler.
This also solves other calls to handlers like on_open. This closes
https://github.com/ASPLes/nopoll/issues/43 #43
Separate handshake_mutex from ref_mutex in noPollConn. Fixes #43
2018-02-21 Tony Mountifield <[email protected]>
Separate handshake_mutex from ref_mutex in noPollConn. Fixes #43
2018-02-13 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated VERSION file. Solved https://github.com/ASPLes/nopoll/issues/40
* [fix] Refreshed expired certificates for nopoll's regression test21.
* [fix] Updated Test21 regression test to include debug information to explain how this test is related to client.pem, server.pem and root.pem and that there is an script that can be used to refresh certificates:
- ./gen-certificates-test-21.sh
Merge pull request #41 from schmidtw/master
Add close status values of 1006 and 1005.
2018-02-10 Weston Schmidt <[email protected]>
Add close status values of 1006 and 1005.
2018-02-09 Tony Mountifield <[email protected]>
Fixes to __nopoll_conn_receive() and nopoll_conn_get_msg(). __nopoll_conn_receive(): Check error return on recursive call. Check conn->receive for all negative returns (both -1 and -2). Remove write outside the supplied buffer. nopoll_conn_get_msg(): Add string terminator only at end of payload.
2018-02-07 Francis Brosnan Blázquez <[email protected]>
* [fix] Moved call to nopoll_win32_init after nopoll_new (noPollCtx) is done. Closes https://github.com/ASPLes/nopoll/issues/37
2018-01-19 Francis Brosnan Blázquez <[email protected]>
Merge pull request #35 from softins/fdset-range-check
* [fix] Range check fds before using for FD_SET or FD_ISSET (by Tony Mountifield @softins ).
2017-12-21 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll_conn_get_msg to explain that the function do not block by default and if it does, is because socket associated is not configured to avoid blocking.
2017-12-18 Francis Brosnan Blázquez <[email protected]>
* [fix] Adding some additional documentation to nopoll_conn_new_with_socket (with help by Morel Bérenger)
2017-10-23 Tony Mountifield <[email protected]>
Range check fds before using for FD_SET or FD_ISSET
2017-09-19 Francis Brosnan Blázquez <[email protected]>
* [fix] Increasing version.
* [fix] Updated nopoll_loop_wait to report -3 and -4 to indicate timeout reached and to indicate I/O wait engine failure. This way, caller can catch these codes and implement recovery and any other policy. Added documentation to explain how to use this.
Thanks for Tony Mountifield (reported the problem).
2017-08-21 Francis Brosnan Blázquez <[email protected]>
* [fix Minor web changes due to latest stable release..
* [fix] Closing release 0.4.5 (Excuse me while I run).
2017-08-12 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll_conn_send_ping to flag "masked" according to role. Reported by https://github.com/jackyzy823 https://github.com/ASPLes/nopoll/commit/aabad7f44fc3ae9c99c1ce9a9cb52d35ae980b37#commitcomment-23612032
2017-08-07 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll_io_wait_select_add_to code to detect when FD_SETSIZE is about to be reached to avoid breaking but reporting error.
* [fix] Updated documenntation recomendation about FD_SETSIZE..
2017-08-06 Francis Brosnan Blázquez <[email protected]>
* [fix] updated nopoll-regression-common.h to include additional headers required by test19 reg test.
* [fix] Updated client regression test to include new test (test-02-b) to test client side ping support. * [fix] Updated client regression test to avoid checking sslv23 when Openssl is too new.
* [fix] Reorganized ping frame handling to automatically respond when using message based API (nopoll_msg_get_next) not only stream based API.
* [fix] Fixed nopoll_conn_send_ping. Added regression test (test_02-b) to check
ping support.
2017-08-06 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed PING frames to support ping frames with 0 payload. Closes https://github.com/ASPLes/nopoll/issues/31
* [fix] Updated nopoll_conn_log_ssl to detect known errors to report
better error messages.
* [fix] Updated TLS method selection to report (log) what is the method
selected. Updated code to use by default flexible and stronger selection
algorithms
2017-08-06 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed wrong listener7 (port 1240 running tlsv12) check. Closes https://github.com/ASPLes/nopoll/issues/30 Reported by https://github.com/rfish001
* [fix] fixed wrong reference to NOPOLL_METHOD_TLSV1_2 (NOPOLL_METHOD_TLSV2).
2017-07-05 Francis Brosnan Blázquez <[email protected]>
* [fix] Making nopoll_ctx_new to avoid allocating when WinSocket fails to init (Reported by github.com/jackyzy823 Closes https://github.com/ASPLes/nopoll/issues/29).
2017-06-30 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixing compilation errors at debian lenny..
* [fix] Updated nopoll-regression-client.c to better detect and deprecate TLS flexible API (debian stretch)
* [fix] Several updates to nopoll_conn module to make tls flexible method available in those platforms with OpenSSL 1.1.0, trying to remove rest of the deprecated apis to avoid compilation problems..
* [fix] Making nopoll_conn_opts_new to setup result->ssl_protocol with the default higher TLS method available.
Merge pull request #27 from camilleoudot/compat_openssl_1.1
openssl 1.1: use EVP_MD_CTX as opaque type (OpenSSL 1.1 API change fix by github.com/camilleoudot @camilleoudot ).
* [fix] Improved nopoll-regression-client (test-04-c) to avoid calling to flush pending writes when there's nothing and to check that pending + written equals to requested in order to signal precissely what's happending. Making the code to also report this values so developer can see what's going on.
2017-06-30 Francis Brosnan Blázquez <[email protected]>
* [fix] Corrected nopoll_conn_flush_writes documentation (wrong time indication and explain better reported values).
* [fix] Making nopoll_conn_flush_writes to also check for EWOULD_EINPROGRESS to
avoid insisting.
* [fix] Making nopoll_conn_send_frame to clear conn->pending_write_added_header
to 0 when it is detected enough was written to include the header so calls to
nopoll_conn_flush_writes do not reporting bytes (user land) considering those
bytes twice.
2017-06-29 Camille Oudot <[email protected]>
openssl 1.1: use EVP_MD_CTX as opaque type
2017-06-23 Francis Brosnan Blázquez <[email protected]>
Merge pull request #26 from ffainelli/param
Add .gitignore and avoid clashes with sys/param.h isset while building with an external toolchain for OpenWrt/LEDE (reported and fixed by Florian Fainelli https://github.com/ffainelli).
2017-06-21 Florian Fainelli <[email protected]>
* [fix] Avoid clashes with isset() from sys/param.h
[nopoll] * Add .gitignore file
2017-06-09 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll-regression-client.c to define ETIMEDOUT in case it is not available (windows platform). * [fix] Fixed compilation failure (nopoll_listener.c) while compiling on windows and having debug disabled.
* [fix] Updated config.mk.example to include linking indications for windows platform.
* [fix] Several updates to change new address
* [fix] Updated VERSION file..
2017-05-08 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated version file..
2017-05-08 Francis Brosnan Blázquez <[email protected]>
* [fix] Several updates to make nopoll_conn_send_frame to return the amount of bytes written to the wire but not just fixed length. Also updated the function to report -2 when no byte was written and NOPOLL_EWOULD_BLOCK is reported by errno. Updated the function to also record added_header_size:
conn->pending_write_added_header = header_size;
...to help nopoll_conn_complete_pending_write to report bytes written to the write
without including bytes added by noPoll due to headers.
* [fix] Updated documentation to better report values returned by:
- nopoll_conn_send_text
- nopoll_conn_send_text_fragment
- nopoll_conn_send_binary
2017-05-03 Francis Brosnan Blázquez <[email protected]>
* [fix] Updating VERSION..
2017-05-02 Francis Brosnan Blázquez <[email protected]>
Merge pull request #24 from flexVDI/no_retry
Return EWOULDBLOCK instead of retrying read & write (do not retry after -2/retry-operation-allowed is reported). Reported by Javier Celaya jcelaya.
2017-04-18 Javier Celaya <[email protected]>
Remove retry loops and return EWOULDBLOCK
When SSL_get_error returns that more data is needed, or the system
call has been interrupted, set errno to EWOULDBLOCK instead of retrying
50 times.
Set errno to EWOULDBLOCK when there is no full message
In nopoll_conn_read, if nopoll_conn_get_msg returns NULL, the connection
is still ok and a non-blocking call has been requested, return
EWOULDBLOCK
Set errno in Windows too
Use WSASetLastError in Windows whenever errno is set in Unix platforms
2017-03-31 Francis Brosnan Blázquez <[email protected]>
Merge pull request #22 from softins/test-stack-protector
Check stack protector options for gcc to be available to include them during configure (by @softins Tony Mountifield )
2017-03-24 Tony Mountifield <[email protected]>
Silence warning on old GCC about potentially uninitialised variable.
Allow building with old GCC that does not support stack-protector
2017-03-24 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed nopoll_ctx_unregister_conn to do "return;" instead of "break;" when the connection is found. Avoids double mutex unlock call. Bug reported and fixed by Tony Mountifields https://github.com/ASPLes/nopoll/issues/21
2017-02-26 Francis Brosnan Blázquez <[email protected]>
* [fix] Improved has_fin and is_fragment detection for final messages after big transfer. Reported and fix provided by Emmanuel Puig ([email protected])
* [fix] Updated nopoll-conn API to include a new function to help API consumer of nopoll_conn_read to know if there are more pending bytes to be read. It fixes interation reported by Turbulence, in case of SSL+WebSocket+BEEP and child process with different users (forcing to activate proxy connections between parent process holding receiving socket and child handling messages received other it).
- nopoll_conn_read_pending
2017-02-13 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll-conn module to include common code to call defined on_ready function for client side code too (it was already supported by listener side). Reported by Elmar Sieke.
2017-02-12 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll_conn_new documentation (fixed typo)
2017-01-24 Francis Brosnan Blázquez <[email protected]>
* [fix] Added some additional notes to last patch merged
Merge pull request #19 from flexVDI/fix_ssl_enotconn
Check ENOTCONN on SSL_connect error (only happening on windows), by Javier Celaya, jcelaya
2017-01-24 Javier Celaya <[email protected]>
Check ENOTCONN on SSL_connect error
This happens on Windows (at least) when the TCP connection is not yet
established.
2017-01-23 Francis Brosnan Blázquez <[email protected]>
Merge pull request #17 from flexVDI/fix_pong
Fix WS PING/PONG implementation (by Javier Celaya, jcelaya)
2017-01-23 Javier Celaya <[email protected]>
Fix WS PING/PONG implementation
WebSocket specification, section 5.5.3, states that 'A Pong frame sent
in response to a Ping frame must have identical "Application data" as
found in the message body of the Ping frame being replied to'. This
commit does that, instead of returning an empty Pong frame.
2017-01-23 Francis Brosnan Blázquez <[email protected]>
* [fix] Version update for next release..
Merge pull request #16 from flexVDI/fix_pending_write
Fix handling pending write data (Javier Celaya jcelaya)
2017-01-20 Francis Brosnan Blázquez <[email protected]>
* [fix] Internal documentation updates..
2017-01-20 Javier Celaya <[email protected]>
Fix handling pending write data
When SSL_write returns EAGAIN, it keeps a pointer to the data buffer
that was being written. This buffer must exist the next time that
SSL_write is called. So, this commit recycles the send_buffer in
nopoll_conn_send_frame as pending_write, instead of creating a new
buffer and copying so many data around.
Besides, nopoll_conn_send_frame correctly returns all the bytes as
written, since they are kept in the pending_write buffer. Otherwise,
the caller will try to write the same data again.
2017-01-19 Francis Brosnan Blázquez <[email protected]>
Merge pull request #15 from flexVDI/big_frame
Allow frames with payload size bigger than 64KB (by Javier Celaya, jcelaya)
2017-01-16 Francis Brosnan Blázquez <[email protected]>
* [fix] Web files updates..
* [fix] Web files updates..
2016-12-22 Javier Celaya <[email protected]>
Send messages bigger than 64KB
2016-12-22 Sergio Lopez <[email protected]>
Read messages bigger then 64KB
2016-12-22 Francis Brosnan Blázquez <[email protected]>
Merge pull request #14 from flexVDI/build_mingw
Build with mingw (Include ws2tcpip.h on Windows, Link against ws2_32.dll on Windows) Javier Celaya
2016-12-19 Javier Celaya <[email protected]>
Link against ws2_32.dll on Windows
Include ws2tcpip.h on Windows
It provides the definition of struct addrinfo and related functions.
Also, define _WIN32_WINNT as 0x0501 so that these funtions are declared.
2016-12-17 Francis Brosnan Blázquez <[email protected]>
Merge pull request #12 from flexVDI/out_of_source
Build out of sources (PR https://github.com/ASPLes/nopoll/pull/12 Javier Celaya)
2016-12-16 Javier Celaya <[email protected]>
Use srcdir to get VERSION path
Include $(top_builddir)/src when building tests
This is needed when doing an out-of-sources build, to find
nopoll_config.h
Run configure conditionally from autogen.sh
2016-12-15 Francis Brosnan Blázquez <[email protected]>
* [fix] Closing release 0.4.3
Merge pull request #11 from flexVDI/with_socket
API to open websocket with existing socket (flexVDI) jcelaya Javier Celaya, Sergio Lopez
2016-12-15 Sergio Lopez <[email protected]>
API to open websocket with existing socket
Add two functions, nopoll_conn_new_with_socket and
nopoll_conn_tls_new_with_socket, to open a websocket connection over an
already existing socket.
2016-11-16 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed minor changes to build nopoll for freebsd..
2016-11-03 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated VERSION file..
* [fix] Added new definition to support Transports (ipv4 and ipv6)..
* [fix] Updated libnopoll.def to cover new functions..
* [fix] Updated noPoll regression test to check new funcitons for IPv6 support. Everything working and valgrind checked..
2016-11-03 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll-listener module to include support for IPv6. Added several new APIs:
- nopoll_listener_new6
- nopoll_listener_new_opts6
- nopoll_listener_tls_new6
- nopoll_listener_tls_new_opts6
* [fix] Updated nopoll-listener module to replace code calling to
gethostbyname by newer, thread safe, getaddrinfo...
2016-11-03 Francis Brosnan Blázquez <[email protected]>
* [fix] Several updates applied to nopoll-conn module to add client support for IPv6. Added two new APIs and reorganized internal code to share as much as possible:
- nopoll_conn_new6
- nopoll_conn_tls_new6
* [fix] Updated DNS/host resolution code to use getaddrinfo (),
removing all calls to gethostbyname (to avoid possible race
conditions).
2016-09-19 Francis Brosnan Blázquez <[email protected]>
* [fix] Increased default nopoll buffer size to process incoming handshakes from 1024 to 8192. Created variable to better control this from nopoll_decl.h
* [fix] Added buffer size indication when cookie ending char fails..
2016-08-24 Francis Brosnan Blázquez <[email protected]>
* [fix] Closing release 0.4.2
* [fix] Fixed FreeBSD compilation error
2016-08-19 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated buildrpm.sh to check error code and stop failing reporting that error..
2016-08-18 Francis Brosnan Blázquez <[email protected]>
* [fix] Reorganized variables at nopoll_conn_produce_accept_key to have them first and then the rest of the code (reported by Peter Lecuyer).
* [fix] Updated nopoll_conn_get_msg to have some castings to avoid
MSVC compilation problems (reported by Peter Lecuyer).
* [fix] Added possible missing R_OK definition to nopoll headers when compiling under windows+msvc (reported by Peter Lecuyer).
2016-07-22 Francis Brosnan Blázquez <[email protected]>
* [fix] Minor contact update inside regression tests.
2016-07-14 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll-regression-client.c to also detect errno ETIMEDOUT in test-04b (fixes Mac/os regression test).
* [fix] Renamed change log..
2016-07-03 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll_conn_set_bind_interface to support Mac/OSX case (IP_RECVIF). Fixed wrong if name indication (was adding +1)
* [fix] Updated get-version.py script to also update ChangeLog file
* [fix] Updated default libnopoll.def to include missing declaration. * [fix] Added default Changelog and NEWS file to avoid annoying error by autoconf (reported by Félix Faisant).
2016-06-15 Francis Brosnan Blázquez <[email protected]>
Merge pull request #3 from cbucht200/master
Added the ability to retrieve the get_url of a nopoll_conn.
2016-06-15 Chris Buchter <Chris_Buchter.comcast.com>
Fixed get_url change to check for NULL conn.
Added the ability to retrieve the get_url of a nopoll_conn.
2016-06-14 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated nopoll.h header to set a default FD_SETSIZE to 4096 so users can have a bigger default values for precompiled binaries. Added documentation to explain how to change/update this value. The value is only applied when including project do not define it before hand.
2016-06-10 Francis Brosnan Blázquez <[email protected]>
* [fix] Several fixings applied to allow compiling noPoll on Windows (Windows 7 64 tested). Renamed parameters using "interface" keyword. Removed conditionally binding interface code so it is not available on windows (until we have support for it). Added header definitions for nopoll_config_win32/win64.h to include headers for SSL/TLS includes. Fixed compilation errors in regression tests.
* [fix] Additional fixings to remove support for SSLv3 when not available
* [fix] More fixings to ensure noPoll compiles when SSLv3 APIs are not available..
* [fix] Added additional code to disable NOPOLL_METHOD_SSLV3 when it is not available (reported by Chris Severance)
* [fix] added support to detect SSLv3 methods and remove support for it in the case they are not present. Added missing pthread_mutexattr_init/destroy inside regression test.
2016-06-09 Francis Brosnan Blázquez <[email protected]>
* [fix] More web updates..
* [fix] Fixed SVN -> github reference on the web..
* [fix] Several to fix dead locks and races when using non-recursive mutexes through nopoll_thread_headers. Fixed dead lock when connection close received while using nopoll_loop_wait API (reported by Ondrej Zaruba). Updated nopoll_conn_ref/unref to fix possible races. Added reg test (test_36) to reproduce and check fix introduced.
* [fix] More updates..
* [fix] Fixed SVN references at web page..
* [fix] Updated nopoll regression test code to use threading locking code by default to ensure that all code tested is under threading support (which at the end covers non threaded code).
* [fix] Updated buildrpm.sh (to create default building directories if not present)
* [fix] Removing folders..
* [fix] Updated configure.ac to report TLS flexible method detected..
* [fix] More files to have support for building packages for Centos..
* [fix] Adding missing spec for centos build..
* [fix] Several updates to make nopoll compilation process to detect all SSL/TLS methods available and update headers so noPoll internal code can react but also API consumers can also take advantage of these indications. Added support for TLS1.2 and for TlS flexible configuration (though added security considerations to it). Updated regression test test_19 to check TLSv1.2 client and server support.
2016-05-23 Francis Brosnan Blázquez <[email protected]>
* [fix] closing release 0.4.1
2016-05-15 Francis Brosnan Blázquez <[email protected]>
* [fix] Several updates to detect when __nopoll_conn_get_ssl_context fails to report a valid SSL_CTX (fixed updated test_19).
* [fix] Updated header read handling to support all cases when a
splitted/broken header is received. Added regression tests test_31,
test_32, test_33, test_34 and test_35 to simulate and support different
scenarios where part of the header is received and then the rest...
2016-05-10 Francis Brosnan Blázquez <[email protected]>
* [fix] Added initial files to compile jessie..
2016-05-06 Francis Brosnan Blázquez <[email protected]>
* [fix] Adding support for Ubuntu Xenial 16.0
2016-04-21 Francis Brosnan Blázquez <[email protected]>
* [fix] fixed broken connection problem caused by some WebSocket clients that send headers using different send operations (rather than one single operation) causing the header to be received splitted. Added regression test_30 to reproduce the problem and check fix introduced. Problem reported by Rahul Kale (barco.com)
2016-04-15 Francis Brosnan Blázquez <[email protected]>
* [fix] Removing printing buffer received when wrong mime headers are received..
* [fix] Added additional code to avoid printing unallocated memory when wrong headers are sent and debug code is enable..
2016-04-11 Francis Brosnan Blázquez <[email protected]>
* [fix] Making max ssl retries (for nopoll_conn) to try for 10 seconds instead of just 1 second (which is too short by default for most of the servers). This only affects client side code
* [fix] Changed ERROR for WARNING message in nopoll-regression-client.c
Merge pull request #2 from schmidtw/add-arbitrary-http-headers
Adding the ability to send arbitrary HTTP headers to a server. This … (From PR #2 by @schmidtw )
2016-04-11 Weston Schmidt <[email protected]>
Adding the ability to send arbitrary HTTP headers to a server. This doesn't add the ability to process arbitrary headers as a server.
2016-03-22 Francis Brosnan Blázquez <[email protected]>
Merge pull request #1 from schmidtw/outbound-interface
Add binding interface option to connection (by Weston Schmidt). Thanks for reporting and providing a patch for this option,
2016-03-22 Weston Schmidt <[email protected]>
Add binding interface option to connection and add nopoll_conn_sock_connect_opts() to not break consumers of nopoll_conn_sock_connect().
2016-02-25 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated makefiles to control gcc compiler for w64 (windows) platform..
2016-02-12 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated web references to include notes about using Raspbian..
2016-02-10 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed regression test which shows a false positive error when used under slow systems like raspberry
2016-01-29 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated noPoll' connection API to include an option to skip Origin header check during connection. API added:
- nopoll_conn_opts_skip_origin_check
2016-01-08 Francis Brosnan Blázquez <[email protected]>
* [fix] Added some additional notes to explain freebsd/ directory (README.txt)
2016-01-07 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed warnings at nopoll-regression-client.c (FreeBSD 10 i386)
2015-12-15 Francis Brosnan Blázquez <[email protected]>
* [fix] Adding files to support FreeBSD 10 amd..
* [fix] Updated free bsd build scripts to support more archs..
2015-12-14 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated documentation to properly reference http://www.aspl.es/nopoll/downloads instead of code.google.com. Added reference to ./autogen.sh to prepare sources if SVN/GIT is used.
2015-12-12 Francis Brosnan Blázquez <[email protected]>
* [fix] More notes about nopoll_conn_new (connect timeout..)..
* [fix] Updated nopoll_conn.c to include more documentation
2015-12-12 Francis Brosnan Blázquez <[email protected]>
* [fix] Moved to the header missing public functions:
- nopoll_conn_connect_timeout
- nopoll_conn_get_connect_timeout
(Reported by Rami Rosenbaum)
2015-12-12 Francis Brosnan Blázquez <[email protected]>
* [fix] Corrected signature at nopoll's manual (reported by Neil Kolban)
2015-11-15 Francis Brosnan Blázquez <[email protected]>
* [fix] Making nopoll_conn_send_ping to return nopoll_true/nopoll_false according to the status..
2015-11-10 Francis Brosnan Blázquez <[email protected]>
* [fix] Bug reported by Dmex where pong frames aren't properly configured (mask option) when sent by clients..
2015-10-13 Francis Brosnan Blázquez <[email protected]>
* [fix] Doc updates..
2015-09-03 Francis Brosnan Blázquez <[email protected]>
* [fix] Copyright updates..
* [fix] Fixed debian files to include nopoll_conn_opts.h into the package libnopoll0-dev
2015-08-28 Francis Brosnan Blázquez <[email protected]>
* [fix] Closing 0.3.2 release..
* [fix] Minor fixings at nopoll-regression-client.c to correct Windows64 compilation errors..
* [fix] Adding more files for release 0.3.2
* [fix] Updated VERSION (new release)
2015-08-20 Francis Brosnan Blázquez <[email protected]>
* [fix] Adding files for FreeBSD 9 to remove directories with :
2015-08-19 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed warnings reported by clang...gcc didn't notice them :-??
2015-08-18 Francis Brosnan Blázquez <[email protected]>
* [fix] Added support to provide FreeBSD packages (for now 9.X releases).
2015-08-16 Francis Brosnan Blázquez <[email protected]>
* [new] Updated noPoll conn API to include a new function to allow closing a connection, sending an error message and an error code along with it:
- nopoll_conn_close_ext
* [fix] Added regression test (test_28) to check connection close frame
with status and reason to check functions added:
- nopoll_conn_get_close_status
- nopoll_conn_get_close_reason
Everything working as expected..
2015-08-15 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated noPOll internal handling to support close frames with body content so remote peer status and reason are now available to API consumers. A new couple of functions are now available to these values:
- nopoll_conn_get_close_reason
- nopoll_conn_get_close_status
Still need more work to check and add a regression test..
* [fix] Updated nopoll_conn_wait_util_connection_ready uses nopoll_conn_is_ok()
and the end of the function and the result reported is linked to its results..
2015-08-06 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed FreeBSD support. ENOTCONN wasn't handled on connection. For some reason socket API is reported ENOTCONN when the should be reporting EINPROGRESS or EWOULDBLOCK
* [fix] Updated log handler reporting so it is triggering when a user handler
is configured via nopoll_log_set_handler (even in the case log reporting
is disabled).
* [fix] Added new option call --show-only-critical to regression tests client
to show only critical messages.
2015-07-22 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated web references to include license programm options..
* [fix] Adding references to license program..
* [fix] Added reference to windriver using noPoll..
2015-07-12 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated log reporting using function_name. It's noisy and it doesn't help very much.
2015-07-08 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixing comment..
* [fix] Uploading and closing release 0.3.1
* [fix] Updated nopoll.nsi to remove dependency that is not clear...
* [fix] Adding release files (0.3.1.)..
2015-05-28 Francis Brosnan Blázquez <[email protected]>
* [fix] General update to allow setting and handling protocol requested and supported by the client and server. Updated regression test (test_27) to check all changes introduced. API added:
- nopoll_conn_get_accepted_protocol
- nopoll_conn_get_requested_protocol
- nopoll_conn_set_accepted_protocol
* [fix] Fixed support for protocol notified by the server, reported by Rahul Kale (barco.com). Added regression test (test_27) to check fix introduced.
* [fix] Fixed test_26 test..
* [fix] Added regression test to check echo.websocket.org Kaazing support (test_26). Everything working without any issue.
2015-05-26 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed nopoll_conn_opts_new to include (void).
2015-05-19 Francis Brosnan Blázquez <[email protected]>
* [fix] Fixed nopoll.nsi to include libgcc_s_dw2.1.dll into the installer.
* [fix] Fixed bug when setting cookie (it was setting \n\r rather than \r\n). Reported by Ettore Rizza.
2015-05-07 Francis Brosnan Blázquez <[email protected]>
* [fix] Closing release 0.2.9
* [fix] Skip settting errno to EWOULD after TLS finished under windows platform.
* [fix] Updated version..
* [fix] Added additional regress iontest (test_25) to check cookie attack. Nothing was reported because the test..
2015-05-06 Francis Brosnan Blázquez <[email protected]>
* [new] Added support to handle and set cookie configured for every connection. Regression test added to check this (test_24). API added:
- nopoll_conn_get_cookie
- nopoll_conn_new_opts
- nopoll_conn_opts_set_cookie
2015-04-30 Francis Brosnan Blázquez <[email protected]>
* [fix] Added a subtlety to report a EWOULD errno just after finished TLS handshake to ensure the caller can report NULL but it is not understood as a connection failure by an upper level API. Fixes MyQtt WebSocket over TLS WebSocket integration reported.
2015-04-28 Francis Brosnan Blázquez <[email protected]>
* [fix] Added missing header for nopoll_conn_set_on_ready.
* [fix] Updatd noPollConn API to allow setting an onReady handler to get a notification (mainly for server side) when a connection is ready for I/O because Websocke handshake has finished. API added:
- nopoll_conn_set_on_ready
2015-04-13 Francis Brosnan Blázquez <[email protected]>
* [fix] Updating buildrpm.sh
2015-04-11 Francis Brosnan Blázquez <[email protected]>
* [fix] Updated certificates needed by reg test-21. Added script to generate certificates used by this test.
2015-04-10 Francis Brosnan Blázquez <[email protected]>
* [fix] More updates on Centos packages.
2015-04-08 Francis Brosnan Blázquez <[email protected]>
* [fix] Updating build rpm files..
2015-04-07 Francis Brosnan Blázquez <[email protected]>
* [fix] Several updates to enable support to build rpm packages for noPoll.
2015-04-01 Francis Brosnan Blázquez <[email protected]>
* [fix] Adding support to create centos packages for noPoll library.
2015-03-09 Francis Brosnan Blázquez <[email protected]>